From tomcat-user-return-80326-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Thu Oct 09 20:21:48 2003 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 99367 invoked from network); 9 Oct 2003 20:21:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Oct 2003 20:21:48 -0000 Received: (qmail 48930 invoked by uid 500); 9 Oct 2003 20:20:27 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 48878 invoked by uid 500); 9 Oct 2003 20:20:26 -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 48829 invoked from network); 9 Oct 2003 20:20:26 -0000 Received: from unknown (HELO ftl1smtp.citco.com) (208.219.172.68) by daedalus.apache.org with SMTP; 9 Oct 2003 20:20:26 -0000 Received: from [127.0.0.1] (helo=ftl-ex.citco.com) by ftl1smtp.citco.com with esmtp (Exim 3.36 #8 (Debian)) id 1A7hFo-0005En-00 for ; Thu, 09 Oct 2003 16:19:20 -0400 Received: by ftl-ex.citco.com with Internet Mail Service (5.5.2653.19) id <4RM75K7V>; Thu, 9 Oct 2003 16:18:41 -0400 Message-ID: <53129C5BC127054F95EFB7567190D3E001D6E9@NYC1W2K21> From: "Lee, Paul NYC" To: 'Tomcat Users List' Subject: RE: Help root context problem!!! Date: Thu, 9 Oct 2003 16:20:27 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Justin, Did you try deleting the contents of the work folder? Regards, Paul -----Original Message----- From: JStanczak@vinu.edu [mailto:JStanczak@vinu.edu] Sent: Thursday, October 09, 2003 3:41 PM To: tomcat-user@jakarta.apache.org Subject: Help root context problem!!! I'm having caching problems with Tomcat. Here's what I'm trying to do. I have an app under the mapping of /PageWorks. In the context I have a index.jsp that does a jsp:forward to a servlet that handles the request. So to access the app you have to type http://myserver/PageWorks and it works. But, I want user to be able to type http://myserver and the /PageWorks/index.jsp with respond. So to do this I change the context in the server.xml file to point to PageWorks instead of ROOT. This also worked like I wanted, but the index.jsp is loaded from the /PageWorks app once. Then from there on it sends the old content every time. The servlet that this jsp is forwarding to changes and so does the jsp, but the http://myserver always returns the old. If you access the servlet or jsp using there full http://myserver/PageWorks path you get the new content every time. I've tried all the client side cache tricks, but I know for sure it's the server that's caching it. How can I get this to stop? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org