File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: Regarding <html:select multiple........
It's not a secret anymore!