Hi
I have a jsp page.It contains select box
<select name="sbox">
<option value="101">text1</option>
<option value="101">text1</option>
</select>
Question is..
How do i get both value and text of a option element in Servlet
Which method of request object ll do the job?
In servlet if i say
request.getParameterValues("sbox").length
Its length is one ..
Can anyone help?
Ajit
I have a jsp page.It contains select box
<select name="sbox">
<option value="101">text1</option>
<option value="101">text1</option>
</select>
Question is..
How do i get both value and text of a option element in Servlet
Which method of request object ll do the job?
In servlet if i say
request.getParameterValues("sbox").length
Its length is one ..
Can anyone help?
Ajit