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)
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:928)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
运行环境:tomcat 1.5,struts 1.2,oracle8.1.7
采用tomcat连接池技术,如果不采用STRUTS,我写一个JSP页面调用一个JAVABEAN是可以对数据库进行访问的,输出显示也正确,但就是一用STRUTS就错。帮我啊!
------解决方法--------------------------------------------------------
是不是你用了validation但没有资源文件(ApplicationResources.properties)呢?
------解决方法--------------------------------------------------------
用actionform中有validate方法.你是否存在validate.xml文件.