I think you have the wrong impression of setLastModified.  It has nothing to
do with the browser, that only controls how long until the user's session
times out.
    (*Chris*)

----- Original Message -----
From: Geoff Soutter <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 1999 4:54 PM
Subject: Re: modifying getLastModified()


> 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
>

___________________________________________________________________________
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