aspose file tools*
The moose likes Struts and the fly likes Struts 1.3 validation: request attributes are lost after submit form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.3 validation: request attributes are lost after submit form" Watch "Struts 1.3 validation: request attributes are lost after submit form" New topic
Author

Struts 1.3 validation: request attributes are lost after submit form

Fran Cricket
Greenhorn

Joined: Nov 03, 2012
Posts: 9
When I submit the form, only the errors are displayed but not the form fields created from db values.
In struts-config.xml, I have:

In home.jsp:

In validation.xml:

After the form submit without select any radio button, the error is displayed, but not the radio buttons.

How could I maintain all the request attributes? I tried to use session scope, but it doesn't work and these radio button

aren't displayed.
All suggestions are appreciated. I don't know how to proceed.
 
wood burning stoves
 
subject: Struts 1.3 validation: request attributes are lost after submit form
 
Similar Threads
Handling validations of multiple forms in single jsp
Struts Validatons are not working
Verification failed on Username existence check using AJAX
Submitting a struts form outside of the form body
Validation framework not working for login screen