On Wed, Mar 17, 1999 at 06:09:40PM +0100, 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
> ????
Read the API documentation.
The default implementation of doGet is to return the "method
not implemented" message. Apparently your servlet is being accessed
with a GET request, which results in that message.
Make sure you're really POSTing to the servlet. If that's
OK, implement doGet to return a simple message and see what happens.
If you get the message, then somehow the POST is getting turned
into a GET; implement doGet to just call doPost.
What servlet engine are you running?
--
Robert Crawford [EMAIL PROTECTED]
http://www.iac.net/~crawford
___________________________________________________________________________
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