Hello!
Trying to get the validator framework in struts to work from within eclipse/exadel, using struts 1.2.
not able to get the simple form to work with validation in ch. 12. in the book 'professonal jakarta struts' from Wrox. any suggestions ?
It is a simple form with a username that is beeing validated with the 'minlenght' property.
Here comes a part of the error.
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)
Trying to get the validator framework in struts to work from within eclipse/exadel, using struts 1.2.
not able to get the simple form to work with validation in ch. 12. in the book 'professonal jakarta struts' from Wrox. any suggestions ?
It is a simple form with a username that is beeing validated with the 'minlenght' property.
Here comes a part of the error.
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)