Nic Ferrier wrote:
>But I am happy to applaud if Geoff or anyone else can give a reason
>why getLM is derelicting it's duty.
Nic, as I said before, you've only addressed one of the points I raised in
my original message. Here they are again, perhaps you'd like to comment on
the other two?
1) it doesn't allow you to easily share state with doGet(), which you almost
always want to do
2) there's no easy way co-ordinate error handling between getLM() and
doGet() (you can't even throw a ServletException from getLM()).
3) getLM() will set LastModified even if doGet() fails and throws an
exception. This means that the client will try and cache your "error" page
(unless you do a sendError() or somesuch).
Geoff
___________________________________________________________________________
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