Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in validation

 
Babu Singh
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic