strtus2关于No result defined for action and result
来源:互联网 发布:ssr linux 客户端配置 编辑:程序博客网 时间:2024/06/07 00:37
这两天初学struts2,不过一开始被一个404弄的生活不能自理,最开始根据网上教程写的struts.xml文件如下
<package name="struts2" extends="struts-default"><action name="login" class="struts2.login"><result name="SUCCESS" type="redirect"> <param name="location">/success.jsp</param><param name="success">/success.jsp</param></result><result name="ERROR" type="redirect"><param name="location">/error.jsp</param><param name="error">/error.jsp</param></result></action></package>
被404整了两天之后发现是有个namespace没有加上
<package name="login" namespace="/" extends="struts-default"><action name="login" class="struts2.loginAction"><result name="error">/error.jsp</result><result name="success">/success.jsp</result></action></package>
0 0
- strtus2关于No result defined for action and result
- no result defined for action and result
- No result defined for action and result
- No result defined for action and result
- No result defined for action and result
- No result defined for action and result
- No result defined for action action.QueryAction and result result
- No result defined for action *Action and result input - action -
- No result defined for action and result input - action
- No result defined for action action.LoginAction and result success
- No result defined for action action.UploadAction and result input
- No result defined for action *Action and result input
- No result defined for action action.UploadAction and result input
- No result defined for action action.LoginAction and result success
- No result defined for action Action.calculation and result success
- No result defined for action action.LoginAction and result success
- No result defined for action action.UserAction and result input
- No result defined for action ....Action and result input
- 2014.08.26 周二-jdbc定义-oracle基本操作
- Arraylist与linkedlist的区别
- UI类的继承图
- ACM2014选拔 4076. Words Count
- 写一个自己的listview
- strtus2关于No result defined for action and result
- Java线程面试题 Top 50
- nginx start/stop
- UILabel, UITextView 高度自适应
- 产生随机数图片
- 使用小技巧
- Non-blocking algorithm(非阻塞算法,非阻塞同步的算法实现)
- 111111111111111
- mysql5.5.17源码安装