• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on HTTP methods

 
Minu Jain
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the following statement true or false?
The default implementation of HttpServlet class's doHead() method calls the doGet() method.
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is true, and is compatible with the requirements of the HTTP specification (HEAD must return headers from a GET).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic