Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 50819 invoked from network); 19 Dec 2001 11:55:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Dec 2001 11:55:14 -0000 Received: (qmail 5518 invoked by uid 97); 19 Dec 2001 11:55:04 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 5496 invoked by uid 97); 19 Dec 2001 11:55:03 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 5485 invoked from network); 19 Dec 2001 11:55:02 -0000 Message-ID: <000701c18883$b347b940$c411de3d@alec> From: "Alec" To: "Tomcat Developers List" , "Rakesh Narang" References: <004101c1885a$abff6440$0c4aa8cb@iservindia> Subject: Re: Servlet Caching problem Date: Wed, 19 Dec 2001 19:52:53 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You may insert following code in your servlets/jsp pages to avoid proxies/browsers caching contents: response.setHeader("Cache-Control", "no-store"); response.setHeader("Pragma", "no-cache"); response.setHeader("Expires", "0"); It's an annoying problem due to a dummy assumption made by IE and some proxy servers that caused them to ignore any update from the web server; even if they fetched the newer contents from your web server, they simply drop them and show you the old cached contents. ----- Original Message ----- From: "rakesh" To: Sent: Wednesday, December 19, 2001 2:59 PM Subject: Servlet Caching problem hi I am facing problem in tomcat 3.2.3 while recompiling the servlet ,whenever i make any changes in any existing servlet but after compiling the servlet its still show me the old output of the servlet because its taking that servlet from caching and its not reffreshing that unless until i don't restart the tomcat server Pls help me to solve this problem thanks Rakesh -- To unsubscribe, e-mail: For additional commands, e-mail: