原文:Struts2中 No result defined for action com.test.action.LoginAction and result success

com.opensymphony.xwork .util.logging.commons.CommonsLogger warn警告: Could not find action or resultNo result defined for action com.test.action.LoginAction and result successat com.opensymphony.xwork . ...

2012-10-21 21:49 0 3867 推荐指数:

查看详情

No result defined for action

在开发总遇到这个问题,但一直不知是何因,今天在同事的博客里看到才明白其因: No result defined for action: 原因:Action的属性值为空的时候,Struts2的默认拦截器会报错,但是又找不到input的Result,不能够把错误返回,所以报这种错误。 解决方法 ...

Wed Dec 31 18:44:00 CST 2014 0 4858
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM