It's not a secret anymore!
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 REST with Spring (video course) this week in the Spring 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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: doHead processing
jQuery in Action, 3rd edition