This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doHead processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doHead processing" Watch "doHead processing" New topic
Author

doHead processing

Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
doGet() will process HEAD requests in the absence of a doHead() method?

true/false?

Source: SAI

Answer given : true


Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

It is true. normally you do not need to override doHead method to handle HEAD request. system calls doGet in the absence of doHead.thats all I know
Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
Ok thanks..

I tested it and got the same answer as you said
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doHead processing
 
Similar Threads
doHead and doGet?
Question on HTTP methods
dohead
doHead() doubt
Servlet Model