You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kumar Abhay-CAK203C <CA...@motorola.com> on 2004/02/05 19:04:55 UTC

POST method not working

Hi,

I am suing post method of sending data to servlet  from a JSP page. I am unable to get the data by request.getParameter(). If I am sing get method I am able to retrieve data from JSP page

Please let me know how to achieve this ? And what is the bug ?

Abhay


RE: POST method not working

Posted by rlipi <rl...@centrum.cz>.
Hi,
maybe we have a similar problem. Try to put slash to the end of the
action attribute of the form. 

For example:

<form action="servlet_name/" method="post">



Radek


> -----Original Message-----
> From: Kumar Abhay-CAK203C [mailto:CAK203C@motorola.com]
> Sent: Thursday, February 05, 2004 7:05 PM
> To: tomcat-user@jakarta.apache.org
> Subject: POST method not working
> Importance: High
> 
> Hi,
> 
> I am suing post method of sending data to servlet  from a JSP page. I
am
> unable to get the data by request.getParameter(). If I am sing get
method
> I am able to retrieve data from JSP page
> 
> Please let me know how to achieve this ? And what is the bug ?
> 
> Abhay





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org