Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Error 405 405 Method Not Allowed

 
Aarthi moorthy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Aarthi.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic