Originally posted by Hrishikesh Ghatnekar:
Hi,
I have one html which contains a dropdown list. I want to read the value of the selected item in the dropdown in my servlet.
I tried with following things , but it didn�t worked
In Html
<SELECT NAME="xyz">
In Servlet
Request.getParameter(�xyz �)
But this is returning null
What can be done Here?
Thanks
Hrishikesh
That's how it's done. Was anything selected when the form was submitted?
Is the select tag
inside the form?
Sometimes a typo in HTML before the form can cause the form to not submit correctly. If you don't find it, post the HTML.