File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes default implementations for HTTP methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "default implementations for HTTP methods" Watch "default implementations for HTTP methods" New topic

default implementations for HTTP methods

Amit Ghag

Joined: May 11, 2002
Posts: 27
As per Jason Hunter's book on Servlets, the default implementation of the doGet and doPost methods in HttpServlet is to return an error saying the requested URL does not support that method. Is it same for the other HTTP methods like doPut, doDelete,etc ?

R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
Yes this is true for all methods of http.

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
I agree. Here's the link:
subject: default implementations for HTTP methods
It's not a secret anymore!