I considered that, but the API for HttpServlet specifically says:
"doGet, if HTTP GET requests are supported. Overriding the doGet method
automatically also provides support for the HEAD and conditional GET
operations."

Implimenting doHead that then just calls doGet not only sounds redundant,
but ineffective!

Lance Lavandowska
www.HomeWizard.com
www.Brainopolis.com

----- Original Message -----
From: Nathan Hoover
To: Lance Lavandowska ; [EMAIL PROTECTED]
Sent: Monday, June 19, 2000 11:40 AM
Subject: Re: Request Method equals HEAD


Uh, let's think about this:

"is there something I have to do in the doGET() method to support the HEAD
http method?"

No.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to