Could not find action or result
来源:互联网 发布:python http上传文件 编辑:程序博客网 时间:2024/06/08 13:46
写了一个简单的struts2 登入例子,结果报错:
WARN - Could not find action or result
No result defined for action com.kingfish.actions.LoginAction and result success
原因:
在loginaction.java类中返回的是success和failure;在struts.xml 中是大写的:
<action name="login" class="login.LoginAction">
<result name="SUCCESS">/success.jsp</result>
<result name="FAILURE">/failure.jsp</result>
</action>
二边改为一致即可!
0 0
- Could not find action or result
- 严重: Could not find action or result
- Could not find action or result
- 原创:Could not find action or result
- struts2 Could not find action or result
- Could not find action or result问题
- struts2 Could not find action or result
- could not find action or result
- Could not find action or result
- Could not find action or result
- Could not find action or result
- Could not find action or result
- 警告: Could not find action or result
- 警告: Could not find action or result
- Could not find action or result:
- Could not find action or result
- Could not find action or result
- SSH Could not find action or result: /ssh_01/hello.action
- 《C++ Primer第五版》读书笔记(7)--SEQUENTIAL CONTAINERS
- c语言中 “字节” “位” 的区别
- C语言结构体 —— sizeof(struct)
- 强大的矢量图形库:Raphael JS 中文帮助文档及教程
- ios开发旋转状态栏目,用于横竖屏切换
- Could not find action or result
- 总有一天要勇敢长大
- hdoj_1698_线段树区间更新
- Android----签名记录
- JDialog实现可以拖动的方法
- How To Convert Maven Based Java Project To Support Eclipse IDE
- ios hack实战:获取支付宝手势密码(支付宝版本8.0)
- poj 3623 Best Cow Line, Gold 暴力枚举
- ORA-03113: end-of-file on communication channel