I can select multiple values in listbox by using <html:select> & <htmlptionCollections>/<htmlptions> tag. But I need to select multiple values from drop down list which means in the drop down list I should able to select multiple values(Becauze dont want multiple lines of listbox). If I use size="1" in <html:select> tag, i can achieve in single line. But it is not look good to select multiple values. I need to do this by using struts or html tag. I am being searched lot in net but did not get any solution. Please help how it can be achieved.
I need dropdown list instead of listbox. If attribute 'multiple' is used on <html:select> tag, it is converted as listbox not as dropdown list. If attribute 'multiple' is not used, the multiple value selection is not possible. I need to achieve both(*1)
(1) Multiple value selection
(2) dropdown list instead of listbox