Jim Richards wrote:

> At 11:11 PM 16/12/99 -0800, you wrote:
> >i don't even overload doPost() and doGet() anymore in my servlets - i go
> >straight to service().  is that bad if i don't treat posting vs. getting
> >differently?  i can't imagine why, but in case anyone has a good reason not
> >to do it that way i'd be happy to hear it.
>
> If you look at the source for service in HttpServlet you'll see a lot of error
> checking and validation that you won't have anymore.
>

In addition to the error checking and validation, you are also skipping the
automated support for getLastModified() so that your servlet can be intelligent
about letting the browser cache things that have not changed.

Craig McClanahan

___________________________________________________________________________
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

Reply via email to