GeeCON Prague 2014*
The moose likes Struts and the fly likes error in validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "error in validation" Watch "error in validation" New topic
Author

error in validation

Babu Singh
Ranch Hand

Joined: Aug 17, 2009
Posts: 78

i am making a simple program of validation.
at run time, suppose i fill 4 charactor in password then click to submit button it should be display Password should be more than 6 character. but it show me requiredstring. same when i left the text area for user name then click to submit button. it should be display User Name is required but it display requiredstring.
and suppose i left the one field and then click to submit, suppose filled values display in left side of corresponding text area. and for empty text area it show me requiredstring.

Here some files:

RegisterAction-validation.xml


ApplicationRsource.properties

please suggest.
 
GeeCON Prague 2014
 
subject: error in validation