This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes user selection not redisplayed after ActionError 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 "user selection not redisplayed after ActionError" Watch "user selection not redisplayed after ActionError" New topic
Author

user selection not redisplayed after ActionError

Nina Anderson
Ranch Hand

Joined: Jul 18, 2006
Posts: 148
Hi guys,

I have a jsp form that contains textboxes, checkbox, drop-down menus and radio buttons. I'm using Struts Validation on the page.

When a users enters bad data, my Struts ActionForm class performs the validation and re-displays the page with errors message. However, the page re-display the information user enter in the textboxes, BUT NOT the checkboxes, drop-down menus and radio buttons.

How can I get the page to retain the information the user entered in the checkbox, drop-down menus and radio buttons?

Here's my code:









Please...Help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: user selection not redisplayed after ActionError
 
Similar Threads
DynaActionForm not working
"No getter method for property ..." error
problem in logic:iterate
DispatchAction and Validator
Struts Validation