Hi guys,
Why can't we use doPost() when using request dispatcher.
I have two
servlets where the first servlet is dispatching request to second servlet. The servlets are working fine when i am using doGet() method for both. When i tried to use doPost() method in both of them i am getting the following error.
HTTP Status 405 - HTTP method GET is not supported by this URL
--------------------------------------------------------------------------------
type Status report
message HTTP method GET is not supported by this URL
description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).
--------------------------------------------------------------------------------
Apache Tomcat/4.1.27
----------------------------------------------------------------------
Exaplation appreciated
Regards
Suresh k