Click to See Complete Forum and Search --> : Select option Box


vagasv1
10-15-2007, 04:09 AM
I am trying to create a Multiple SELECT box but I am not sure how to pick it in my java code.


<SELECT size="15"
name="currentParameter"
multiple="multiple">

<OPTION value="1">1</OPTION>
<OPTION value="2">2</OPTION>
<OPTION value="3">3</OPTION>
</SELECT>




request.getParameter(currentParameter)



but because the user can select muliple entries the getParameter only picks up the first entry and thats it.

Please can someone tell me where I am going wrong.

or is there another control that I should use altogether to achieve what I want to

thanks in advance

Khalid Ali
10-16-2007, 11:24 AM
for that you should be able to use getParameterValues