- 浏览: 110206 次
- 性别:
- 来自: 上海
文章分类
最新评论
Messages: No result defined for action com.xxx.action.SomeAction and result input
---------------------------------------------------------------------------------------------------------------------------
症状: action中无法正常进行跳转.
原因: 验证值时验证报错.
解决办法:
1) 给 Action 加入 input 的结果;
2) 去除所有证验相关的拦截器,包括默认的validation
调试方法:在 input 中加入调试
<s:fielderror/>
<s:debug />
<a href="javascript:void(0);" onclick="toggleDebug('debug');return false;">[调试信息]</a>
可显示下列信息:
Invalid field value for field "attachment".
fieldErrors {attachment=[Invalid field value for field "attachment".]}
3) Action 不再继承自 ActionSupport(里面有 ValidationAware 接口), 而转而只实现 Action 接口即可.
发表评论
-
[导入]为Struts 2.0做好准备
2009-10-29 19:00 0摘要: Struts 2.0系列之一 Struts ... -
[导入]常用的Struts 2.0的标志(Tag)介绍
2009-10-29 19:00 267摘要: 在上一篇文章《为Struts 2.0做好准备 ... -
[导入]Struts 2.0的Action讲解
2009-10-29 19:00 583摘要: 有Struts 1.x经验的朋友都知道Act ... -
[导入]在Struts 2.0中国际化(i18n)您的应用程序
2009-10-29 19:00 299摘要: Struts 2.0系列之四 国际化是商业系 ... -
[导入]转换器(Converter)——Struts 2.0中的魔术师
2009-10-29 19:00 427摘要: 在我已往的Struts 1.x项目经验中,有 ... -
[导入]在Struts 2.0中实现表单数据校验(Validation)
2009-10-29 19:00 269摘要: All Input Is Evil! ... -
[导入]Struts 2的基石——拦截器(Interceptor)
2009-10-29 19:00 336摘要: Struts 2.0系列之七 Interce ... -
[导入]在Struts 2中实现文件上传
2009-10-29 19:00 240摘要: Struts 2.0系列之九 Struts ... -
[导入]在Struts 2中实现CRUD
2009-10-29 19:00 328摘要: Struts 2系列之十 CRUD是Crea ... -
[导入]Struts 2中的OGNL
2009-10-29 19:00 508摘要: Struts 2系列之十一 OGNL是一种功 ... -
[导入]Strus 2的新表单标志的使用
2009-10-29 19:00 470摘要: Struts 2系列之十二 Struts 2 ... -
[导入]Struts 2与AJAX(第一部分)
2009-10-29 19:00 436摘要: Struts 2系列之十三 在当今——Web ... -
[导入]Struts 2与AJAX(第二部分)
2009-10-29 19:00 546摘要: Struts 2系列之十四 在上一篇文章《S ... -
[导入]Struts 2与AJAX(第三部分)
2009-10-29 19:00 528摘要: 在上两部分的《Struts 2与AJAX》中 ... -
struts1.3-基础及原理
2009-11-29 22:59 557网站struts.apache.org 实践 ... -
struts1.3-DispatchAction
2009-11-30 08:10 366DynaActionForm 配态form 1 配置动态for ... -
struts1.3-Converter
2009-11-30 08:10 608Converter添加java.util.Date ... -
struts1.3-exception
2009-11-30 08:11 783一 配置异常(在struts-config.xml文件中定义) ... -
struts1.3-plugIn
2009-11-30 08:12 332可以加入ValidatorPlugIn动态验证框架插件 org ... -
struts1.3-ForwardAction
2009-11-30 08:12 659ForwardAction是统一访问形式 配置struts-c ...
相关推荐
jsp\No result defined for action and result input.doc
No result defined for action.doc
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-...
to present signal processing principles used in the software defined radio, ranging from analog ,digital modulation to RF, DSP and data conversion.
Software-defined radios (SDRs) have been around for more than a decade. The first complete Global Positioning System (GPS) implementation was described by Dennis Akos in 1997. Since then several ...
linux ls find 时大于2G文件时出现Value too large for defined data type 系统本身支持大于2G文件但查询有问题的解决办法
C++经典错误之already defined in *****.obj解决方法
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 ...
3G软件无线电software defined radio for 3G,很不错,可惜是英文的,
网上的东西好大多都不能直接用,自己结合网上资料做了一个Struts2+Spring3+MyBatis3的测试工程,JUnit测试用例和WEB服务。 内涵完整jar包,解压直接可用,包括一个表文件。 Eclipse3.2+Tomcat/5.5+jdk1.5.0_17 - ...
Fundamental concepts and architectures (Chapters 2–7) • Awareness, measurements, and sensing (Chapters 8–10) • Physical layer access technologies (Chapters 11 and 12) • Applications of cognitive ...
Software Defined Radio Architectures, Systems and Functions
中文译名《软件无线电中的射频与数字信号处理》,不可多得的一部实用的软件无线电著作,可以当作手册,供工程人员参考借鉴。
高结晶性Na2Zn3[Fe(CN)6]2正极的合成及其电化学性能研究,吴晨,钱江锋,本文,我们报道了一种简单的共沉淀反应制备六方晶系 Na2Zn3[Fe(CN)6]2纳米颗粒(~300 nm)。电化学测试表明,该材料具有可逆的嵌钠反应行
Virtualized Software-Defined Networks and Services 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,...
Models for Probability and Statistical Inference was written over a five-year period and serves as a comprehensive treatment of the fundamentals of probability and statistical inference. With detailed...
Learn to:Control storage costs,Eliminate storage bottlenecks,Use IBM GPFS to solve storage management challenges
A Software-Defined GPS and Galileo Receiver -- A Single-Frequency Approach