大伙在使用struts2的时候,是否也有过报o result defined for action这样的错误,今天我来总结一下,报这样错误的原因,以便你们参考
1 首先你要明白struts2的原理和机制,在你提交action的时候,他是要做很多的工作的,首先是校验 这个你是看不见的,但是struts2已经做了,如果校验通过,那么就要执行你所指向的那个action 如果在校验的时候,出现了错误,他会回到struts的配置文件里面,找到input 然后跳到相应的jsp页面,如果你没有在配置文件中配置input 他就会报这个错误,
2 就是要看看你的配置文件里面是否继承了struts-default 必须继承这个,这个是struts2的入口
3 就是看你的文件有没有写错,这个不多说。细心一点就可以了。
以上肯定有很多错误,望大家给我指正,共同进步!也可以给我发电子邮件 biejunbo@126.com 有什么技术难题,我们一起研究!
分享到:
相关推荐
jsp\No result defined for action and result input.doc
No result defined for action.doc
linux ls find 时大于2G文件时出现Value too large for defined data type 系统本身支持大于2G文件但查询有问题的解决办法
IAR for 51 中Fatal Error[e72]: Segment ZIGNV_ADDRESS_SPACE must be defined in a segment definition option (-Z, -b or -P) 解决方法。
RF and Digital Signal Processing for Software-Defined Radio: A Multi-Standard Multi-Mode Approach by Tony J. Rouphael RF and Digital Signal Processing for Software-Defined Radio: A Multi-...
3G软件无线电software defined radio for 3G,很不错,可惜是英文的,
网上的东西好大多都不能直接用,自己结合网上资料做了一个Struts2+Spring3+MyBatis3的测试工程,JUnit测试用例和WEB服务。 内涵完整jar包,解压直接可用,包括一个表文件。 Eclipse3.2+Tomcat/5.5+jdk1.5.0_17 - ...
to present signal processing principles used in the software defined radio, ranging from analog ,digital modulation to RF, DSP and data conversion.
Learn to:Control storage costs,Eliminate storage bottlenecks,Use IBM GPFS to solve storage management challenges
今天小编就为大家分享一篇解决Pycharm下面出现No R interpreter defined的问题,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
struts1.3.9 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the ...
and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal ...
java-struts2.2的驱动包 2009-8-29 14:02:04 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production ...
最近在使用python过重遇到这个问题,NameError: name 'xxx' is not defined,在学习python或者在使用python的过程中这个问题大家肯定都遇到过,在这里我就这个问题总结以下几种情况: 错误NameError: name ‘xxx’ ...
Environment variable ORACLE_UNQNAME not defined错误解决
在vue单页面应用中,我们大概都会使用CommonsChunkPlugin这个插件。 传送门 CommonsChunkPlugin 但是在项目经过本地测试没有任何问题,打包上线后却会报错 webpackJsonp is not defined。这是因为公共文件必须在自己...
Stops the action invocation immediately (by throwing a PauseException) and causes the action invocation to return the specified result, such as Action.SUCCESS, Action.INPUT, etc. void ...
C++经典错误之already defined in *****.obj解决方法
高结晶性Na2Zn3[Fe(CN)6]2正极的合成及其电化学性能研究,吴晨,钱江锋,本文,我们报道了一种简单的共沉淀反应制备六方晶系 Na2Zn3[Fe(CN)6]2纳米颗粒(~300 nm)。电化学测试表明,该材料具有可逆的嵌钠反应行