aspose file tools*
The moose likes JSP and the fly likes HTTP Error 405  405 Method Not Allowed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "HTTP Error 405  405 Method Not Allowed" Watch "HTTP Error 405  405 Method Not Allowed" New topic

HTTP Error 405 405 Method Not Allowed

Aarthi moorthy

Joined: Feb 24, 2003
Posts: 7
Hi all,
I am facing a problem when i put my site containing JSP page in my IIS .
I am using MS access database.
after I login as a user in my login page i get this error
HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.
please help me...
with regards,
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

usually you get that error when your servlet only defines a doPost() method and you're trying to access it with a GET request..... or the opposite (trying ot access it with a POST request and it only has a doGet() method).
Not sure how/why you'd get that with a JSP... maybe if you post some of your code we can help more?
I agree. Here's the link:
subject: HTTP Error 405 405 Method Not Allowed
Similar Threads
Inter Servlet Communication
Problems in Database Query with Servlets and html
http 405 error when invoking a servlet from jsp
A simple doubt in the usage of GET & POST
problem with : HTTP Error 405