You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Nair, Rajendran" <rn...@evolve.com> on 2000/03/27 19:46:25 UTC
Form submit from a JSP page
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
Re: Form submit from a JSP page
Posted by Guillaume Rousse <Gu...@univ-reunion.fr>.
I got the same problem under Mandrake 7.
I don't know if it's coming from apache 1.3.12 or from tomcat 3.1
There is a bug report that seems to adress this (n� 128).
Has anyone a solution to fix it ?
Le lun, 27 mar 2000, vous avez �crit :
> 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.
--
Guillaume Rousse
Iremia - Universit� de la R�union
15 avenue Ren� Cassin, BP 7151
97715 Saint Denis, messagerie cedex 9
Tel:0262938330 Fax:0262938260 ICQ:10756815
And now, some words for our sponsor :
Explosives, guns, assassination, conspiracy, primers, detonators, Kakadan,
initiators, main charge, nuclear charges, ambush, sniping, motorcade, IRS,
ETA, FARC, Cuba, Castro, Che Guevara, revolution, ATTAC, BATF, jtf-6...