Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts Validator Framework, probz

Status
Not open for further replies.

Inki

Programmer
Aug 24, 2006
2
SE
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top