这是我跑struts2的第一个例子,跑的也够郁闷的,这个问题烦了我几个钟... 2011-5-10 10:10:17 com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn警告: Could not find action or resultNo result defined for action com.augur.action.LoginAction and result success at com.opensym…
配置struts校验发生No result defined for action actions.AdminLoginAction and result input,但是登录,success.jsp,failed.jsp都好使, 验证空值输入(校验)出现上述问题. 这是struts配置有问题! input result没有配置,要返到表单才能显示 <action name="admin_login" class="adminLogin"> <res…
问题描述: No result defined for action com.freedom.funitureCityPSIMS.controller.login.CheckAction and result error at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373) at com.opensymphony.xwork2.DefaultAction…
意图访问一个 /es/index.action 竟然出现: [SAE ] ERROR [05-11 13:54:32] [http-80-5] com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(38) | Exception occurred during processing request: No result defined for action com.lk.actions.IndexAction and r…
struts2.1.8 必须在struts.xml中配置namespace属性 如果你在2.0中一切OK,但是在2.1中确出现了No result defined for action的异常,就是在因为在2.1中有一个插件struts2-convention-plugin-2.1.8.jar,这个插件是2.1版本中新添加的默认核心包,这个插件是实现Struts2的零配置,必须引入namespace命名空间,否则就会出现刚才的No result defined for action的异常 这里需要…
在做JavaEE SSH项目时,接触到validators验证. 需要了解validators配置,或者遇到No result defined for action 这个错误时,可查阅本文得到有效解决 现在说说我认为最关键的三个要点: 1.文件名命名规则: 这是action文件名: 这是action请求名: 这是validators文件名: 所以命名规则就是"action文件名-action请求名-validation.xml" 注意:xml文件要和action文件放在同一包下! 2.…
No result defined for action com.nynt.action.ManageAction and result input 问题原因: 1). 在action类中定义的一个return "input";在xml文件里没有东西接收.            举例说明:                      struts.xml 文件:    <package name="file" namespace="/file"…
Struts Problem Report Struts has detected an unhandled exception: Messages: No result defined for action cn.itcast.oa.test.TestAction and result SUCCESS Stacktraces No result defined for action cn.itcast.oa.test.TestAction and result SUCCESS com.open…
今天在编程的时候,我遇到了No result defined for action and result input的错误,这个错误想必大家都有遇到过吧,我今天发了很长时间弄这个错误,我以为我的Action函数出错了想调试,但是程序就是不进入断点,上网查资料,有的说路径错误啦,然后我找我的路径错误,搞了半天还是没发现有路径问题.然后我给我的属性的get方法都弄上了断点,我发现了问题,现在跟大家分享. 这个错误就是说没有为返回的input定义,可是有时候我们不一定要这个鬼东西,然而在Action中…
struts 2.3.16  採用动态调用发现不工作报404 not found,网上查找原因: 1.由于:struts2中默认不同意使用DMI 所以:须要在配置文件里打开: <constant name="struts.enable.DynamicMethodInvocation" value="true"/> 改动发现报No result defined for action 2.错误信息来看,是说未定义result. 你有没有配置拦截器<in…