permaculture playing cards*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Servlet concepts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet concepts" Watch "Servlet concepts" New topic
Author

Servlet concepts

Rohit Bhagwat
Ranch Hand

Joined: Dec 19, 2004
Posts: 205
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

Joined: Dec 19, 2004
Posts: 205
Hello friends


I got the answer...


Regards
Rohit
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet concepts