Ron Reynolds wrote:
>
> i don't even overload doPost() and doGet() anymore in my servlets
> i gotraight to service().
> ....
> if anyone has a good reason not
> to do it that way i'd be happy to hear it.
Because by overriding service() you have the same code also handle
doHead(), doPut(), doOptions(), doTrace(), and doDelete(). You should
let the default implementation for these methods should be used --
especially doHead().
Feel free to check out my book "Java Servlet Programming". This
question for example was covered on p. 18. :-) The URL's in my sig.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html