When I use the request.getParameter("field1") from within the JSP where field1
is defined as an input form control, it always returns only a null value.  Can
someone tell me why and what I am doing wrong?

For eg: if the lets say the JSP contains this.

<form name="form1">
<input type="text" name="field1" value="One">
</form>

<%=request.getParameter("field1")%>

-----------

The last line is always null.

Thanks for any response.
Bala.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to