![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Struts 2.0
iteye_18445
这个作者很懒,什么都没留下…
展开
-
严重 exception starting filter struts2 unable to load configuration
严重: Exception starting filter struts2 Unable to load configuration. - bean - 碰到这类情况,首先要确定struts.xml的路径是否正确,是否在src文件夹下面。 路径没问题,就在类库中加入commons-fileupload-1.2.1.jar。应该就可以了。 ...2009-11-03 13:58:22 · 123 阅读 · 0 评论 -
There is no Action mapped for namespace / and action name UserAction
关于"There is no Action mapped for namespace / and action name UserAction"这样的exception. 网上有些说法是认为struts.xml的路径有问题,其实除此之外,struts.xml内的配置写错了,也会造成这样的问题。 [code="XML"] /HelloWorld.jsp [/code] ...2009-11-03 14:04:19 · 120 阅读 · 0 评论 -
Struts1 和 Struts2部署上的区别
1.web.xml配置中,Struts1 的入口点是一个Servlet,而Struts2 的入口点是一个过滤器(Filter)。 2.Action中,Struts1中的动作类必须从Action 类中继承,而Struts2.x 的动作类需要从com.opensymphony.xwork2.ActionSupport 类继承.Struts2 的execute 方法没有参数了,而Struts1的exe...2009-11-03 16:24:10 · 103 阅读 · 0 评论