Resources cannot be null
来源:互联网 发布:淘宝大学直通车 编辑:程序博客网 时间:2024/05/18 18:00
Resources cannot be null
Resources cannot be null
java.lang.illegalargumentexception: resources cannot be null.
org.apache.commons.validator.validator.<init>(validator.java:188)
org.apache.struts.validator.resources.initvalidator(resources.java:475)
org.apache.struts.validator.validatorform.validate(validatorform.java:104)
..............
这个问题还真的没有见过呢
乍一看还真蒙了,但是只要你出了这个问题还搜索到了这篇文章,那么你走运了
这个问题很简单,也很容易就解决了
就是因为你配置了struts的form,但是你没有给她配置validate方法,加上validate就可以通过了,俗话说巧妇难为无米之炊,人没有那金刚钻,怎么能干那瓷器活,是不?
还有一种解决方法就是在struts-config.xml里把validate="false"。
- Resources cannot be null
- Resources cannot be null
- Resources cannot be null
- Resources cannot be null
- Resources cannot be null
- "Resources cannot be null" 问题
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null.
- java.lang.IllegalArgumentException: Resources cannot be null
- java.lang.IllegalArgumentException: Resources cannot be null.
- Struts中Resources cannot be null错误
- Struts中Resources cannot be null错误
- java.lang.IllegalArgumentException: Resources cannot be null.
- Struts中Resources cannot be null错误
- Resources cannot be null. 缺少ActionForm的异常
- My Eclipse:Resources cannot be null报错
- 错误java.lang.IllegalArgumentException: Resources cannot be null
- 程序、进程、作业之间的区别与联系
- UVA 10000 -Longest Paths-Bellman - Ford,flody,spfa
- 数据结构 - 二叉树遍历
- DDR3的效率杀手——时间参数
- ImageIo read() 读取图片时返回 Null
- Resources cannot be null
- ubuntu下编译c程序之多个 .c文件关联
- Android MMS模块数据详细信息
- QQ音乐的各种相关API
- 今天开始在CSDN写博客--记录自己的技术、思想和见闻
- java关于终止线程
- hdu1257最少拦截系统【贪心算法】
- [Python] 正则表达式
- 实验序