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

关于后台抛出ValidatorException
提交页面的时候后台抛出
org.apache.commons.validator.ValidatorException:   org.apache.struts.validator.FieldChecks.validateRequiredWhen(java.la
Object,   org.apache.commons.validator.ValidatorAction,   org.apache.commons.validator.Field,   org.apache.struts.action.Ac
nMessages,   org.apache.commons.validator.Validator,   javax.servlet.http.HttpServletRequest)
                at   org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorAction.java:627)
                at   org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:557)
                at   org.apache.commons.validator.Field.validateForRule(Field.java:827)
                at   org.apache.commons.validator.Field.validate(Field.java:906)
                at   org.apache.commons.validator.Form.validate(Form.java:174)
                at   org.apache.commons.validator.Validator.validate(Validator.java:367)
                at   org.apache.struts.validator.DynaValidatorForm.validate(DynaValidatorForm.java:110)
                at   org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:928)
                at   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)
                at   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
                at   org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                at   javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at   weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
                at   weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
                at   weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                at   weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at   com.ncs.iframe.extensions.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:91)
                at   weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at   immd.applies.base.security.servlet.SecurityFilter.doFilter(SecurityFilter.java:311)
                at   weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at   com.ncs.iframe.extensions.filter.LocaleFilter.doFilter(LocaleFilter.java:93)
                at   weblogic.servlet.in