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 Displaying selected value in Html select multiple true not working 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 "Displaying selected value in Html select multiple true not working" Watch "Displaying selected value in Html select multiple true not working" New topic
Author

Displaying selected value in Html select multiple true not working

Asraf Ali shaikh
Greenhorn

Joined: Jun 01, 2010
Posts: 2
Hi,

I am taking multiple values in <html select multiple ="true"> from user and saving it in database.
this part is working fine .

now i am trying to update , so i need to show previous selected values, in html select
but i am not able to acheive this

i am using struts1.2
please reply ....

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please see the JavaRanch naming policy and change your display name to conform with this policy. Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying selected value in Html select multiple true not working
 
Similar Threads
reading values from form:select options
Getting mutilple values selected fom the select element of html?
Select Values
html select box - values getting lost
html options doubt in struts