This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars" Watch "Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars" New topic
Author

Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars

Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
I am using validator framework. in that i am validating the password field as required and minimum length of 6 characters. When i enter without any values its showing correct error message as "Password is required". But when i enter more than 6 characters i am still getting "Password can not be less than 6 characters".I cannot submit the form as this error message occurs for any length of characters i enter.What may be the problem? Please help.

i have below lines in the validation.xml file:

I have the following in the validation-rules.xml file:

Please help.Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting "Password can not be less than 6 characters" error message even i enter more than 6 chars