tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Tomcat refresh configuration
Date Tue, 22 Jul 2003 05:58:13 GMT
Probably Safari doesn't read META tags.  You could try instead:
<%
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Expires", 1);
%>

"Mufaddal Khumri" <mufaddal@wmotion.com> wrote in message
news:B4D28B87-BB64-11D7-8726-0003931CBFD0@wmotion.com...
> Well i have the following in all my jsp pages.
>
> <meta http-equiv="Cache-Control" content="no-cache">
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="Expires" content="0">
>
> Am using safari on mac os X ... Lets say I have a location. I edit the
> location and submit the form .. the new data is entered in the database
> and the new data is also reflected on the location description page.
> The information shown on this page is correct. I have a link to edit
> this location on this location information page (.jsp) ... when the
> location edit form appears .. it has the old data and when i click
> refresh .. it shows me the new data i had entered. This behaviour only
> occurs with Safari. IE and Navigator are working fine. Does anybody
> know why ?
>
> On Tuesday, July 22, 2003, at 04:06  AM, Tim Funk wrote:
>
> > Heh?
> >
> > Automagic refresh can be done via a meta tag. (Google is your friend)
> >
> > Page caching is also easy. Again - google is your friend. (cache jsp)
> >
> > -Tim
> >
> > Mufaddal Khumri wrote:
> >> hi,
> >> Is there a way to control the refreshing of html pages in tomcat ?
> >> Thanks.
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message