日期:2014-05-18  浏览次数:20694 次

struts验证问题
2007-2-22   15:25:57   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validator-rules.xml '
2007-2-22   15:25:57   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validation.xml '
2007-2-22   15:25:57   org.apache.catalina.core.ApplicationContext   log
信息:   ContextListener:   contextInitialized()
2007-2-22   15:25:57   org.apache.catalina.core.ApplicationContext   log
信息:   SessionListener:   contextInitialized()
2007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validator-rules.xml '
2007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validation.xml '
2007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   init
严重:   Skipping   validation   rules   file   from   '/WEB-INF/validation.xml '.     No   stream   could   be   opened.
javax.servlet.ServletException:   Skipping   validation   rules   file   from   '/WEB-INF/validation.xml '.     No   stream   could   be   opened.
at   org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:222)
at   org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at   org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
...
2007-2-22   15:25:58   org.apache.catalina.core.ApplicationContext   log
信息:   Marking   servlet   action   as   unavailable
2007-2-22   15:25:58   org.apache.catalina.core.StandardContext   loadOnStartup
严重:   Servlet   /ok   threw   load()   exception
javax.servlet.UnavailableException:   Cannot   load   a   validator   resource   from   '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml '
at   org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:174)
...007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validator-rules.xml '
2007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   initResources
信息:   Loading   validation   rules   file   from   '/WEB-INF/validation.xml '
2007-2-22   15:25:58   org.apache.struts.validator.ValidatorPlugIn   init
严重:   Skipping   validation   rules   file   from   '/WEB-INF/validation.xml '.     No   stream   could   be   opened.
javax.servlet.ServletException:   Skipping   validation   rules   file   from   '/WEB-INF/validation.xml '.     No   stream   could   be   opened.
at   org.apach