----- Original Message -----
From: "Kaylon Daniels" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 8:55 AM
Subject: Re: getParameter()


> I believe that you must submit the form first, then you can use
> getParameter(). JSP are processed on the server-side.
>
> -----Original Message-----
> From: Balasubramanian Sundaramoorthy
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 22, 2000 5:41 PM
> To: [EMAIL PROTECTED]
> Subject: getParameter()
>
>
> 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
>
> ===========================================================================
> 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
>

===========================================================================
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