aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Question on HTTP methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Question on HTTP methods" Watch "Question on HTTP methods" New topic
Author

Question on HTTP methods

Minu Jain
Ranch Hand

Joined: Mar 24, 2008
Posts: 74
Is the following statement true or false?
The default implementation of HttpServlet class's doHead() method calls the doGet() method.

SCBCD5, SCWCD5, SCJP5
"Even if you're on the right track, you'll get run over if you just sit there."
Charles Lyons
Author
Ranch Hand

Joined: Mar 27, 2003
Posts: 836
That is true, and is compatible with the requirements of the HTTP specification (HEAD must return headers from a GET).


Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / Amazon Amazon UK )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on HTTP methods