this should work with all http1.1 compatible browsers:
response.setHeader("Cache-Control", "no-cache");
Dave
> -----Original Message-----
> From: slickdev [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 4:27 PM
> To: Tomcat Users List
> Subject: no-cache where to set?
>
>
> pardon my naivete', but where do i set pages for 'no-cache'?
> i hope it's
> not just a browser setting... unknown number of browsers to set.
>
>
> ----- Original Message -----
> From: "peter lin" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, July 26, 2002 1:31 PM
> Subject: Re: Can Tomcat 4.03 expire web pages
>
>
> >
> > set your pages to no-cache, which forces the browser to
> always get it
> > from the server. Is that what you're looking for?
> >
> > peter
> >
> >
> > Steve Russell wrote:
> > >
> > > Hi;
> > >
> > > My boss wants to "expire" our jsp pages.
> > >
> > > In other words, if a user hits backspace, instead of
> getting the jsp
> > > page s/he just left s/he would see a notice that the page expired.
> > >
> > > I've seen snippets of code to do this on google, but I
> haven't been able
> > > to get them to work.
> > >
> > > Can Tomcat 4.03 "expire" web pages or do I need a
> webserver with Tomcat
> > > to do this?
> > >
> > > Also if someone could show me an example of how do this, with the
> > > example of being a whole html/jsp page I would appreciate it.
> > >
> > > Thanks in advance
> > >
> > > Steve
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>