Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts - Multiple Selection

Status
Not open for further replies.

pamnanipayal

Programmer
Oct 17, 2002
9
0
0
IN
Please Help.
I want to mark multiple values in a list box as SELECTED.
in tag <html:select> the attribute value is a String. I can't even pass the String array, as it says type mismatch.
Please let me know what to pass for value in the following tag

<html:select property=&quot;serviceType&quot; size=&quot;3&quot; multiple=&quot;true&quot; value=&quot;<%=str3[0]%>&quot;>

Above tag marks the first element in String[] str3 as selected.
It throws error if i pass str3 as the value.

Please help me out. It is very very urgent.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top