I invoke a servlet from an HTML page using method = "POST" and ACTION = "URL
to the servlet1". It works fine.

Now suppose this servlet forwards the request to second HTML page (using
RequestDispathcher). The HTML page invokes second servlet using method =
"POST" and ACTION = "URL to the servlet2". It does not work. The browser
gives the error message "405 Method not allowed".

If I change method from POST to GET, it works fine.

Can you throw some light as to why this is happening.

Anshu Garg

___________________________________________________________________________
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