*
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.
 
GeeCON Prague 2014
 
subject: Struts 1.3 validation: request attributes are lost after submit form