This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 72

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.
 
Don't get me started about those stupid light bulbs.
 
subject: error in validation
 
Similar Threads
Struts 2 error
xml form validation UI error message not shown?
Struts2 & validation [SOLVED]
short-circuit attribute not working in validation file
Understanding public void prepare() +tiles