• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default implementations for HTTP methods

 
Amit Ghag
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes this is true for all methods of http.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic