Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 33500 invoked from network); 22 Jul 2003 16:18:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 22 Jul 2003 16:18:55 -0000 Received: (qmail 2027 invoked by uid 97); 22 Jul 2003 16:21:31 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 2020 invoked from network); 22 Jul 2003 16:21:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 22 Jul 2003 16:21:31 -0000 Received: (qmail 29913 invoked by uid 500); 22 Jul 2003 16:18:16 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29790 invoked from network); 22 Jul 2003 16:18:14 -0000 Received: from mail.wmotion.com (HELO mail.wsmart.com) (65.39.65.11) by daedalus.apache.org with SMTP; 22 Jul 2003 16:18:14 -0000 Received: from wmotion.com (65.39.65.98) by mail.wsmart.com with ESMTP (Eudora Internet Mail Server 3.0.3) for ; Tue, 22 Jul 2003 09:18:10 -0700 Date: Tue, 22 Jul 2003 09:21:52 +0530 Subject: Tomcat 4.1.24 causes refresh problem ... 4.1.18 does not. Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Mufaddal Khumri To: "Tomcat Users List" Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Added : <% response.setHeader("Cache-Control","no-cache"); 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 database. 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 data. Does anybody know why or how to solve this problem ? Thanks. 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 > news:B4D28B87-BB64-11D7-8726-0003931CBFD0@wmotion.com... >> Well i have the following in all my jsp pages. >> >> >> >> >> >> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org