Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts 1.3 validation: request attributes are lost after submit form  RSS feed

Fran Cricket
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!