The moose likes Struts and the fly likes Problem in minlength Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in minlength Validation" Watch "Problem in minlength Validation" New topic

Problem in minlength Validation

raghu yeggina

Joined: Feb 11, 2009
Posts: 27
Hi Everyone,

There's some problem with validation of minimum length of a field.I'm posting the code here below.
Below is the code in validation.xml

Below is the code in applicationresources.properties file

Below is the code in validationrules.xml

The 'required' validation is working fine but 'minlength' is not working at all.

Please help me resolve this issue.

Thanks in advance.
It is sorta covered in the JavaRanch Style Guide.
subject: Problem in minlength Validation
Similar Threads
mask is not working
Struts validation with minlength
ValidWhen problem in struts 1.3.10
Unable to validate minlength
Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars