Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get method error

 
Megha Singhal
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why the following error is coming

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/6.0.18


if i no where use Get method, infact i was overiding Get method, i also remove those lines
 
Anurag Verma
Ranch Hand
Posts: 167
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error comes when your servlet is not having the doGet method overridden into it. If you already have doGet method in your servlet, remove the super.doGet(req, resp); call from it & it should go away.
 
Megha Singhal
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anurag Verma wrote:This error comes when your servlet is not having the doGet method overridden into it. If you already have doGet method in your servlet, remove the super.doGet(req, resp); call from it & it should go away.


Thanks, its resolved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic