This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Select Values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Select Values" Watch "Select Values" New topic

Select Values

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362

I have a form which has 3 select multiple boxes.How do I make the values selected using struts. There are 5 constant values and the user can select all or none and save the form. When the user comes bk to that page again, I want those values to be selected.

Am using <html:select and <html options tag

Thx in advance
[ September 14, 2005: Message edited by: Mary Cole ]
It is sorta covered in the JavaRanch Style Guide.
subject: Select Values
Similar Threads
html Checkbox value not getting
Detecting selected html options using Struts and JSTL?
Avoiding form resubmission
Using Ajax with Struts
Submit to Same Page