does not define a handler property解决方法

简介:

does not define a handler property这个错误原因是没有在struts-config.xml中的action中配置parameter=”method”这个属性。

Resources cannot be null这个错误的原因是:

java.lang.illegalargumentexception: resources cannot be null. org.apache.commons.validator.validator.(validator.java:188) org.apache.struts.validator.resources.initvalidator(resources.java:475) org.apache.struts.validator.validatorform.validate(validatorform.java:104) ..............

是因为配置了strutsform,但是你没有给她配置validate方法,加上validate就可以通过了还有一种解决方法就是在struts-config.xml里把validate="false"(这个在action里面配置)


本文转自sucre03 51CTO博客,原文链接:http://blog.51cto.com/sucre/416777,如需转载请自行联系原作者

相关文章
|
11月前
|
小程序
小程序踩坑:Setting data field "xxxx" to undefined is invalid.
小程序踩坑:Setting data field "xxxx" to undefined is invalid.
271 0
|
12天前
|
网络协议 C++
解决MASM32代码汇编出错: error A2181: initializer must be a string or single item
解决MASM32代码汇编出错: error A2181: initializer must be a string or single item
|
5月前
|
资源调度 前端开发
编译第三方前端项目时候出现Syntax Error: TypeError: Cannot set properties of undefined (setting ‘parent‘)
编译第三方前端项目时候出现Syntax Error: TypeError: Cannot set properties of undefined (setting ‘parent‘)
398 0
|
3月前
|
JavaScript 前端开发
报错:Cannot read properties of undefined (reading ‘$message‘)解决方法
以上就是解决"Cannot read properties of undefined (reading ‘$message‘)"错误的几种方法,希望对你有所帮助。
1572 0
|
5月前
|
JavaScript
【报错】Cannot read property ‘parseComponent‘ of undefined
【报错】Cannot read property ‘parseComponent‘ of undefined
574 2
|
5月前
|
Java 应用服务中间件
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
完美解决tomcat启动异常:Invalid byte tag in constant pool: 19;Unable to process Jar entry [module-info.class]
1139 0
|
Java 数据库连接 mybatis
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
1961 0
mybatis报错:Type handler was null on parameter mapping or property ‘__frch_xxx_0’
|
11月前
|
PHP
set_error_handler()
set_error_handler()
44 0
|
11月前
|
JSON 小程序 API
小程序踩坑-Setting data field "list" to undefined is invalid.
小程序踩坑-Setting data field "list" to undefined is invalid.
277 0
|
JavaScript
Cannot read properties of undefined (reading ‘push‘)“ 报错 解决方法
一.首先这个报错的大致意思就是不能读取这个push方法,顾名思义就是使用这个方法的变量不是一个数组
1439 0