This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Regarding <html:select multiple........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding <html:select multiple........" Watch "Regarding <html:select multiple........" New topic

Regarding <html:select multiple........

Tusshar Fasate
Ranch Hand

Joined: May 21, 2008
Posts: 81
I have <html select property="holidayID" size="4" multiple="multiple"> tag in my jsp.
But when I access it in my action doing form.getHolidayId() ...I am only getting first value of holidayID.
And if i use List in my HolidayActionForm for holidayID ...I get the exception.
So Is there any way to get the all values of holidayID in action.
Please suggest some solution on this.
It is sorta covered in the JavaRanch Style Guide.
subject: Regarding <html:select multiple........