No result defined for action result input的错误
2013-12-31 11:43
281 查看
前几天发现的系统后台日志报:
No result defined for action com.xsp.modules.depos.action.DepositAction and result input
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
的异常,找了好几天时间,原来是异常的原因是数据类型转换错误,页面上有一个金额的输入项,没有控制住金额输入逗号,所以当请求后台struts2进行自动类型转换时就报错了,如果action继承了ActionSupport,struts2默认返回input。
记录一下这个异常错误,以后可以作为很好的参考。
No result defined for action com.xsp.modules.depos.action.DepositAction and result input
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
的异常,找了好几天时间,原来是异常的原因是数据类型转换错误,页面上有一个金额的输入项,没有控制住金额输入逗号,所以当请求后台struts2进行自动类型转换时就报错了,如果action继承了ActionSupport,struts2默认返回input。
记录一下这个异常错误,以后可以作为很好的参考。
相关文章推荐
- Struts2——No result defined for action and result input - action错误
- strust2的“No result defined for action cn.xx.xxxAction and result input”错误
- 关于"No result defined for action com.ccxe.credit.action.ReportAction and result input"的错误
- 404-No result defined for action and result input 错误
- No result defined for action action.UploadAction and result input(开发错误记录struts2)
- Java Web 的No result defined for action cn.itcast.action.CustomerAction and result input 错误
- Struts2——No result defined for action and result input - action错误
- struts2环境配置是出现No result defined for action *** and result input”的错误信息
- Struts2——No result defined for action and result input - action错误(今天也遇到,没见过很难找)
- No result defined for action and result input的错误
- 【填大坑】关于Struts2中的 No result defined for action and result input 错误
- Struts2常见错误-No result defined for action XXX and result input
- ssh 报错 No result defined for action and result input
- No result defined for action *Action and result input - action -
- No result defined for action,配置正确却找不到action,运行错误
- No result defined for action and result input
- 随机出现“No result defined for action ....Action and result input”解决
- “HTTP Status 404 - No result defined for action ****** and result result”错误解决方法
- No result defined for action and result input
- 报错:No result defined for action and result input