当前位置: 代码迷 >> Java Web开发 >> struts过程中出现的有关问题,求助,散100分!
  详细解决方案

struts过程中出现的有关问题,求助,散100分!

热度:81   发布时间:2016-04-17 14:46:00.0
struts过程中出现的问题,求助,散100分!!!!
是这样的,我是eclipes+tomcat,发布项目后,当打开JSP页时,提示:
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.util.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true
2007-5-11   1:34:39   org.apache.struts.util.PropertyMessageResources   <init>
信息:   Initializing,   config= 'org.apache.struts.taglib.html.LocalStrings ',   returnNull=true

当我输入完信息点按钮后,情况是刚开始好用,之后报错:

严重:   Resources   not   defined   for   Validator
org.apache.commons.validator.ValidatorException:   Resources   not   defined   for   Validator
at   org.apache.commons.validator.Validator.validate(Validator.java:574)
at   org.apache.struts.validator.DynaValidatorForm.validate(DynaValidatorForm.java:151)
at   org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at   org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection

(Http11Protocol.java:744)
at   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at   java.lang.Thread.run(Thread.java:595)
  相关解决方案