File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes !? doHead() !? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "!? doHead() !?" Watch "!? doHead() !?" New topic

!? doHead() !?

Tony Alicea

Joined: Jan 30, 2000
Posts: 3226
In the O'Reilly book on Servlets, on page 19, first paragraph, there is a reference to the HttpServlet method doHead().
This method does not exist right? If so, where?
If i'm right, then I'm somewhat disappointed by the error since the printing that I have is from Jan 2000 and the book was first published in Oct 1998.
At any rate, there are two methods that I found in the HttpServletResponse interface that seem to set header fields any way I want. Is that correct?

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
subject: !? doHead() !?
It's not a secret anymore!