how to get the value selected in the select tag using jsp?
posted 10 years ago
Hi Everyone, In my jsp i'm writing a select tag,I want to get the value .I tried using request.getParameter i'm not getting.What may be the reason?? Code as follows: <select name="language"> <option value="Java">Java</option> <option value="ASP.NET">ASP.NET</option> </select> <%=request.getParamater("language")%>
the value in the expression tag is null.Why am i getting it as null? Can anyone tell me? Thanks, Sandhya.