This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.