File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
Don't get me started about those stupid light bulbs.
 
subject: doHead processing