这个是什么错误
/main.jsp
/index.html
1、如果项目没有使用Spring,则struts.xml配置文件中,这个action的class属性的路径没有写完整,应该是包名.类名
2、如果项目使用了Spring,那就是applicationContext.xml里面没有为这个action定义bean。这样strus.xml中的对应action的class属性的值就是Spring配置文件中bean的id
---------------------
作者:吴孟达
来源:CSDN
原文:网页链接
解决方法:
当项目只用了struts时,不会报错正常运行.
当项目使用了spring,就要把action要配置在applicationContext.xml中