![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
文章平均质量分 77
huzhian77
这个作者很懒,什么都没留下…
展开
-
HTTP Status 404 - No result defined for action com.anan.login.action.LoginAction
[color=brown]学习struts2时,经常莫名奇妙的遇到如下异常: “HTTP Status 404 - No result defined for action com.anan.login.action.LoginAction ” 找不到解决方法;这是我一开始的配置: 后来想是不是文件解析时com.anan.login.action.LoginAction里本身软件自己的bug(M...原创 2012-03-08 10:43:20 · 140 阅读 · 0 评论 -
struts2采用convention-plugin实现零配置心得
[size=large]从struts2.1开始,struts2不再推荐使用Codebehind作为零配置插件,而是改为使用Convention插件来支持零配置,和Codebehind相比,Convention插件更彻底,该插件完全抛弃配置信息,不仅不需要是使用struts.xml文件进行配置,甚至不需要使用Annotation进行配置,而是由struts2根据约定自动配置。 如何使用Con...原创 2012-03-09 15:30:01 · 106 阅读 · 0 评论