I had this problem once when I started with servlets... i didn't
implement BOTH the doGet and doPost method in my servlet...  so just
make a doGet method that calls doPost...  just a guess  :-)

Jon

ASC wrote:
>
> Why if I have a form with POST method <form .... method=POST> and in the
> peer servlet catch the request with doPost, the server returns me :
> The following error occurred: 400 - GET is not supported by this URL
> ????
>
> Thanks, (and thanks for the "Mail from a servlet" comments)
>
> ___________________________________________________________________________
> 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

--
===========================================
Jon Thor Williams                     Phish
Java Software Specialist                :-)
TrailerSoft [EMAIL PROTECTED]                  *
"I want to party like it's 1929!" - Unknown
===========================================

___________________________________________________________________________
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

Reply via email to