Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

user selection not redisplayed after ActionError  RSS feed

 
Nina Anderson
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!