Hi,
with the code below I can get netscape not to cache a jsp page but it
does not work with Internet-Explorer.
Does anybody know why?
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");\
Zsolt
--
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Del
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> Hi,
>
> with the code below I can get netscape not to cache a jsp page but it
> does not work with Internet-Explorer.
> Does anybody know why?
>
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");\
Mac, or P
ol settings are
there to stop intermediate caches from falsely reporting a page as not
having changed.
Duncan.
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 16:13
> To: [EMAIL PROTECTED]
> Subject: Cache problem with IE
>
&g
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
page executed again to show up to date information.
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > Hi,
> >
> > with the code below I can get netscape
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do this in
JSP land, but servlets do it by implementing getLastModified(), derived
from HttpServ
CTED]]
> Sent: 13 March 2001 16:25
> To: '[EMAIL PROTECTED]'
> Subject: RE: Cache problem with IE
>
>
> I'm sure someone will jump on this from a great height if I'm
> wrong, but I
> seem to recall that the cache settings are for intermediate
13 March 2001 16:47
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
You could try having the JSP set its modified time to 'now', using a
java.util.Calendar object. That should cause the cache on the browser to
retrieve an updated copy of the page. I don't recall how to do t
e.
>
> Dave.
> [EMAIL PROTECTED]
>
> -Original Message-
> From: Roby Gamboa [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2001 16:47
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
> You could try having the JSP set its modified time to 'now
sponse specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Cache problem with IE
> >
> >
> > I
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> No, there is no proxy, everything runs in a simple LAN.
You can also try adding the following at the top of your HTML document:
(in the )
Though I don't know why it wouldn't work from the servlet. Have you tried
telnetting to your box and issuing an
browsers, and Cache-Control will only be used if
> the response specifies HTTP/1.1.
>
> - Chris.
>
> > -Original Message-
> > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > Sent: 13 March 2001 16:25
> > To: '[EMAIL PROTECTED]'
>
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
You could try outputting this header.
Failing that just tack a random number ( System.currentTimeMillis() ) onto
each URL to guarentee uniqueness.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [E
m: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> I have tried 'no-store' and 'must-revalidate' but none of them helped.
>
>
> Christopher Kirk wr
I do it from a JSP and not from a servlet and the page look like:
<%response.setHeader("Cache-Control",
"no-cache");response.setHeader("Pragma", "no-cache");%>
Joe Laffey wrote:
>
> On Tue, 13 Mar 2001, Zsolt Koppany wrote:
>
> > No, there is no proxy, everything runs in a simple LAN.
>
Zsolt Koppany
Gesendet: Dienstag, 13. März 2001 17:32
An: [EMAIL PROTECTED]
Betreff: Re: Cache problem with IE
I have the problem under Windows (I don't have Mac).
My goal is: when the user just comes back to a (JSP) page I want the
page executed again to show up to date information.
Joe Laffey
In looking over the HTTP/1.1 spec, the header to set is 'Last-Modified'. In
the spec documentation, though, they state that there's 60 seconds of slop
allowed, in the event that the browser and server clocks are out of sync.
Still, they say that if the cached copy differs from the server copy by t
ndler like
> onLoad that reloads the page.
>
> If its the first case, continue to read the other posts in this
> thread.
>
> Randy
>
> -Original Message-
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 11:32 A
On Tue, 13 Mar 2001, Zsolt Koppany wrote:
> I do it from a JSP and not from a servlet and the page look like:
>
> <%response.setHeader("Cache-Control",
> "no-cache");response.setHeader("Pragma", "no-cache");%>
OK,
Try telnetting to your box and issue the HTTP command:
GET / HTTP/1.0
(two retu
orward (but you need to
check the exact name of the handlers, my JavaScript book isn't at my desk
right now).
Randy
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: Cache problem with IE
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
I have always also used the expires header for dynamic pages.
My understanding is that this is the only header used by caching proxies for
determining whether or not to cache a page (aside from
get
just to check, you are setting the response
> to HTTP/1.1? Pragma was
> > never consistent between browsers, and
> Cache-Control will only be used if
> > the response specifies HTTP/1.1.
> >
> > - Chris.
> >
> > > -Original Message-----
, you are setting the response
> > to HTTP/1.1? Pragma was
> > > never consistent between browsers, and
> > Cache-Control will only be used if
> > > the response specifies HTTP/1.1.
> > >
> > > - Chris.
> > >
> > > > -Original Message-
>
On Tue, 13 Mar 2001 17:13:14 +0100, Zsolt Koppany wrote:
>Hi,
>
>with the code below I can get netscape not to cache a jsp page but it
>does not work with Internet-Explorer.
>Does anybody know why?
>
>
>response.setHeader("Cache-Control", "no-cache");
>response.setHeader("Pragma", "no-cache");\
>
Hi,
AFAIL, this doesn't work with some IE versions(5 and above I think) the
problem is caused because IE5+ decides whether it wonts to cache the
page if the page is greater than 32k. So, when it decides that the page
has to be cached, the headers have been long ago forgotten :(. The
solution in o
> Hitting the same problem we used at
> http://www.mavicanet.com
> and it works both on NS and IE!
>
> response.setHeader("Pragma","no-cache");
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Expires","Thu, 01 Dec 1994
> 16:00:0
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 13, 2001 7:41 PM
Subject: Re: Cache problem with IE
> On Tue, 1
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:Re: Cache problem with IE
Hello,
Could somebody tell me please,
how can i set HTTP/1.1 instead of 1.0
regards.
- Original Message -
From: "Joe Laffey&quo
agma",
"no-cache");
It's working fine for me.
IE5, NN4.7 on Win 98, Tomcat
Regards,
Manish
- Original Message -
From:
Zsolt Koppany
To: [EMAIL PROTECTED]
Sent: Tuesday, March 13, 2001 9:43
PM
Subject: Cache problem with IE
Hi,with the code
nt in
development.
Randy
> -Original Message-
> From: josé placide [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 14, 2001 6:29 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
>
>
> Hello,
>
>
> Could so
>
> > -Original Message-
> > From: josé placide [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, March 14, 2001 6:29 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Re: Cache problem with IE
> >
> >
> > Hello,
>
OUF !!!
The config win2k + Tomcat3.2 + Jbuilder 4
in tomcat 3.2 folder's there is some examples how show how to do !
it's ugly,but it work!
Merci a tous,merci thomas
>From SessionExample.java :
out.println("");
out.println("");
out.println("");
String title = "sessions.title";
out.println("
>>
>> > -Original Message-
>> > From: josé placide [mailto:[EMAIL PROTECTED]]
>> > Sent: Wednesday, March 14, 2001 6:29 PM
>> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>> > Subject: Re: Cache problem with IE
>> >
>> >
33 matches
Mail list logo