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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cleanup the validation errors when refresh the page
 
Similar Threads
GC behavior on Serializable objects
Refreshing jsp page
link css style sheet
How to find out which form generated errors ?
About resetting button option in jsf page