tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <>
Subject Tomcat 4.1.24 causes refresh problem ... 4.1.18 does not.
Date Tue, 22 Jul 2003 03:51:52 GMT

Added :

     	    response.setHeader("Pragma", "no-cache");
     	    response.setDateHeader("Expires", 1);

The problem still persists.

This problem does not occur with tomcat 4.1.18, but occurs with tomcat 
4.1.24. IE , Netscape
and Safari work fine with 4.1.18. Safari does not work well with 4.1.24 
in regards to refresh.

Am using safari on mac os X with tomcat 4.1.24 ...

I have two .jsp files - LocationInformation.jsp and EditLocation.jsp

LocationInformation.jsp shows me the information of a location from the 
EditLocation.jsp is used to edit the information for a location and 
saved to the database.

On the LocationInformation.jsp I have a link to EditLocation.jsp. When 
I edit the location
information by entering data in the form on EditLocation.jsp and then 
say submit, the data
gets entered in the database and I take the user to the 
LocationInformation.jsp where it shows
the updated information from the database. When I click the link to 
EditLocation.jsp on this page,
it takes me to EditLocation.jsp and the form on EditLocation.jsp shows 
me the old information. When
I click the refresh button in the browser the form shows me the updated 

Does anybody know why or how to solve this problem ?


On Tuesday, July 22, 2003, at 11:28  AM, Bill Barker wrote:

> 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" <> wrote in message
>> 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:
>>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message