If you want the same feature retained for doPost, like doGet
add the following code with your pgm.
public void doPost(HttpServletRequest req, HttpServletResponse
res) throws ServletException, IOException
{
doGet(req, res);
}
That is all!!!
----------------------------------------------------------------
Regards,
G Ramesh
On Sun, 16 Jan 2000, kiran vattem wrote:
> Hello Gurus,
> I am trying to access a servlet that uses session information from a html
> page with
>
> <FORM ACTION="../servlets/ShoppingCart" METHOD="POST">
>
> I am getting the error
>
> Error400:
> HTTP method POST is not supported by this URL
>
> Any help on the issue is appreciated.
>
> thanks in advance
> kiran
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html