aspose file tools*
The moose likes Servlets and the fly likes HTTP Status 405 - HTTP method GET is not supported by this URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP Status 405 - HTTP method GET is not supported by this URL" Watch "HTTP Status 405 - HTTP method GET is not supported by this URL" New topic
Author

HTTP Status 405 - HTTP method GET is not supported by this URL

Madhawi Maurya
Ranch Hand

Joined: Aug 22, 2007
Posts: 42
What is the solution for 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/5.5.25


SCJP1.5 with 90%
Phani Burra
Ranch Hand

Joined: Dec 13, 2007
Posts: 52
My assumption is that you are using a form and did not specify any method in which case it is GET by default or either the method specified is GET. In which case the servlet serving the req has to have a doGet() method. Probably you have a doPost() method without a doGet().
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 405 - HTTP method GET is not supported by this URL