this would be obvious, but are you overriding doPost (as opposed to doGet)
in your servlet when your method=post ?

bradley mclain

>From: "Nair, Rajendran" <[EMAIL PROTECTED]>
>Reply-To: "Nair, Rajendran" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Form submit using HTTP POST
>Date: Mon, 27 Mar 2000 09:49:23 -0800
>
>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

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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

Reply via email to