• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

user selection not redisplayed after ActionError

 
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic