This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
 
Consider Paul's rocket mass heater.
 
subject: Servlet concepts
 
It's not a secret anymore!