From Bill_Fellows/MO/americancentury@americancentury.com Fri Jan 19 19:17:55 2001 Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 20764 invoked from network); 19 Jan 2001 19:17:55 -0000 Received: from mail1.americancentury.com (HELO kcvirus01.americancentury.com) (207.19.50.14) by h31.sny.collab.net with SMTP; 19 Jan 2001 19:17:55 -0000 Received: from kcvirus01.americancentury.com (localhost [127.0.0.1]) by kcvirus01.americancentury.com (8.10.1/8.10.1) with ESMTP id f0JJHTs03554 for ; Fri, 19 Jan 2001 13:17:29 -0600 (CST) Received: from notes-smtpmta-kc01p.americancentury.com (inetkc.americancentury.com [10.115.60.5]) by kcvirus01.americancentury.com (8.10.1/8.10.1) with SMTP id f0JJHSf03548; Fri, 19 Jan 2001 13:17:28 -0600 (CST) Received: by notes-smtpmta-kc01p.americancentury.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 862569D9.0069F603 ; Fri, 19 Jan 2001 13:17:22 -0600 X-Lotus-FromDomain: AMERICANCENTURY From: Bill_Fellows/MO/americancentury@americancentury.com To: tomcat-user@jakarta.apache.org, hugo.lara@alterbrain.com Message-ID: <862569D9.0069F564.00@notes-smtpmta-kc01p.americancentury.com> Date: Fri, 19 Jan 2001 13:14:48 -0600 Subject: Re: I don't want cached pages Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'd do something insane like.. Not guaranteed to work for every browser and I can't remember what the other thing you can set is, but if you did a search for the above tag in the search engine of your choice I'm sure you'll be able to find more info. /bill Please respond to tomcat-user@jakarta.apache.org; Please respond to hugo.lara@alterbrain.com To: tomcat-user@jakarta.apache.org cc: (bcc: Bill Fellows/MO/americancentury) Subject: I don't want cached pages I'm developing a website using Tomcat but I have a little problem. I use a page that calls itself passing some parameters and based on the parameters passed shows certain result. The first time I call the page the URL looks like this: http://myHost:21968/Demos/Formating.jsp and I get the "original page" After calling itself with a parameter, the URL look like this: http://myHost:21968/Demos/Formating.jsp?parameter=123 and I get the "result page" If I try to get the original page typing http://myHost:21968/Demos/Formating.jsp in the browser, what I get is the last page showing a result. It happens even if I call the page from a different computer. This is a serious problem because it means that someone accessing the site for the first time, would see the result page generated by the parameters passed by the last visitor instead of the original page. The only way I've found to solve this is restarting Tomcat's service. Doing so I won't get the result page but the original page. But of course, I don't want to be restarting Tomcat's service everytime a visitor wants to access the site. Does anyone have a solution to this problem?