• 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!