There was a bug in Tomcat 3.0 when the POST request was followed by a <jsp:forward>
request. In such cases, the getParameter method returned null value. But I saw a
message in the Tomcat list saying that this bug was fixed in the 3.1 server.

Shrisha Radhakrishna a écrit :

> I may be wrong; But, I believe I saw a post that mentioned a bug in the
> implementation of POST in TOMCAT.
>
> ----- Original Message -----
> From: "Nair, Rajendran" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 27, 2000 9:49 AM
> Subject: Form submit using HTTP POST
>
> > Hi
> >
> > I wrote a simple JSP  page with a form in it.  This form had a couple of
> > text elements and a submit button and I want the submit from this form to
> be
> > handled by a servlet.  However, when I set the method of the form to
> "POST",
> > my servlet does not get the parameters (neither the text elements nor the
> > submit button), whereas if the method is "GET", these parameters come
> > through fine.
> >
> > Is there anything special I must do to process a POST request from a JSP?
> > Or am I missing something very obvious?
> >
> > I have Apache 1.3.12/Tomcat 3.1 on a Windows98 machine.
> >
> > Rajendran Nair
> > Dharma Systems, inc.
> > 1710, S.Amphlett Blvd, #112,
> > San Mateo, CA 94402
> >
> >
> ===========================================================================
> > 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
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ===========================================================================
> 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