aspose file tools*
The moose likes Struts and the fly likes Cleanup the validation errors when refresh the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cleanup the validation errors when refresh the page" Watch "Cleanup the validation errors when refresh the page" New topic
Author

Cleanup the validation errors when refresh the page

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 260
hi,

I have registration page and I did apply some validation rules on each form field, when I start the application and try to get the validation errors, and i got validation error accordingly. Now when I refresh the page, the validations errors are not cleaning, is there any way to cleanup errors?
those are fixed until we put correct values in the form fields?

Waiting for reply....!

thanks,
Sumant K


Thanks,
Kumar
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Originally posted by sumant kuchipudi:

those (error messages) are fixed until we put correct values in the form fields?

Yes, they are. The whole point of validation is not to let a page proceed forward unless the errors are fixed and the validation criteria is met.


Merrill
Consultant, Sima Solutions
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 260
Thank you Merrill
 
jQuery in Action, 2nd edition
 
subject: Cleanup the validation errors when refresh the page
 
Similar Threads
How to find out which form generated errors ?
Refreshing jsp page
GC behavior on Serializable objects
link css style sheet
About resetting button option in jsf page