Posted By:
Akhil_Gupta
Posted On:
Tuesday, February 22, 2005 04:45 PM
Hi I am facing difficulty with using multiple option with html:select button, how do we pass mutiple selected values from a html:select in jsp, i searched the internet and found that i need to have String[] array as the property for getting and setting values for this, is that correct, i tried that but now i don't know how to get values from String[] arrays in html:select it is saying label not found although i am able to do with getting with List object, is it possible i do a getter with List and setter with String array , i tried that but it is not working , Failed to obtain specified collection is the exception i am getting. Can somebody please help , please show some code or links on net to tackle this I am using like this:
More>>
Hi
I am facing difficulty with using multiple option with html:select button, how do we pass mutiple selected values from a html:select in jsp, i searched the internet and found that i need to have String[] array as the property for getting and setting values for this, is that correct, i tried that but now i don't know how to get values from String[] arrays in html:select it is saying label not found although i am able to do with getting with List object, is it possible i do a getter with List and setter with String array , i tried that but it is not working , Failed to obtain specified collection is the exception i am getting. Can somebody please help , please show some code or links on net to tackle this
I am using like this:
--- where userroles is the String array
Thanks so much