> Request.getParameter("comboname"); returns only the selected value
>
> Is there a way i could select all the values ( if cbbox is set to
> multiselect) *through code*
>
As I said... use request.getParameterValues("comboname"), that returns an
array of values and should return all of the selected ones.

Failing that (different browsers may not do it... same old story...), you've
got to loop through all of the options in the combo list and ask each one if
it's selected -- accumulate the list of the selected options and assign that
list to a form variable.

_3
M

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to