File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doHead processing" Watch "doHead processing" New topic

doHead processing

Parth Twari
Ranch Hand

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


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:
subject: doHead processing
It's not a secret anymore!