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 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
Author

default implementations for HTTP methods

Amit Ghag
Greenhorn

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 ?


Regards,
Amit
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5376
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
 
jQuery in Action, 3rd edition
 
subject: default implementations for HTTP methods
 
It's not a secret anymore!