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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

map select multiple to collention

Status
Not open for further replies.

jfpedro

Programmer
Joined
Aug 20, 2007
Messages
1
Location
PT
Hi,
I have this code:

jsp:
<html:select property="selectedList" multiple="true">
<html:optionsCollection property="oList" value="id"
label="description"/>
</html:select>

the property oList is a type List in the form and it works fine.
The problem is that i can only map the property selectedList to an array. I wold like to map this property to a List or a Set. Is that possible?

Thanks,
JP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top