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 question? 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 question?" Watch "doHead question?" New topic

doHead question?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10032

Why is that we should not override doHead and even if we don't do it, we get 200 status when we request using HEAD as the HTTP method?

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
Hi JOthi,

there is nothing wrong with http status code 200. It just means that the request was successful and the server was able to deliver the request.


for more details

Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
I agree. Here's the link:
subject: doHead question?
It's not a secret anymore!