Usually this error occurs when people upgrade to a later version of Struts, but forget to upgrade the validator-rules.xml to the one shipped with the new Struts version.
http://wiki.apache.org/struts/StrutsUpgrade Niall On 8/25/06, Ingimar Erlingsson <[EMAIL PROTECTED]> wrote:
Hello! trying to get the validator framework in struts to work from within eclipse/exadel, using struts 1.2. following an example in the book 'professional jakarta struts' from WROX , that is chapter 12, but always getting errors like the following. The example is a simple form, submitting a name. could anyone tell me what is wrong ? here is the error ( a part ): 006-08-23 23:00:30,515 ERROR [org.apache.struts.validator.ValidatorForm] - org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, javax.servlet.http.HttpServletRequest ) org.apache.commons.validator.ValidatorException: org.apache.struts.validator.FieldChecks.validateRequired(java.lang.Object, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, javax.servlet.http.HttpServletRequest) at org.apache.commons.validator.ValidatorAction.loadValidationMethod( ValidatorAction.java:627) at org.apache.commons.validator.ValidatorAction.executeValidationMethod ( ValidatorAction.java:557)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]