Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet concepts

 
Rohit Bhagwat
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends/sir

I have one doubt related to servlets.

If I dont overide any of the methods like ...I dont override service or doPost or doGet then Why do I get runtime error that

"HTTP method GET is not supported by this URL"
"The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL)."

However all methods have been implemented in HttpServlet class.

Then how come it doesnt call those methods ?

Please help me..

Thanks
Rohit.
 
Rohit Bhagwat
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends


I got the answer...


Regards
Rohit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic