File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Cleanup the validation errors when refresh the page
 
Similar Threads
Refreshing jsp page
link css style sheet
GC behavior on Serializable objects
About resetting button option in jsf page
How to find out which form generated errors ?