Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 59658 invoked from network); 17 Oct 2003 18:55:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Oct 2003 18:55:06 -0000 Received: (qmail 39515 invoked by uid 500); 17 Oct 2003 18:54:36 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 39484 invoked by uid 500); 17 Oct 2003 18:54:36 -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 39471 invoked from network); 17 Oct 2003 18:54:35 -0000 Received: from unknown (HELO indian.vinu.edu) (159.218.201.15) by daedalus.apache.org with SMTP; 17 Oct 2003 18:54:35 -0000 To: "Tomcat Users List" Subject: RE: Server caching servlet response problem. MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 Message-ID: From: JStanczak@vinu.edu Date: Fri, 17 Oct 2003 13:54:38 -0500 X-MIMETrack: Serialize by Router on INDIAN/VUMAIL(Release 5.0.12 |February 13, 2003) at 10/17/2003 01:54:40 PM, Serialize complete at 10/17/2003 01:54:40 PM Content-Type: multipart/alternative; boundary="=_alternative 0067E07A05256DC2_=" 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 --=_alternative 0067E07A05256DC2_= Content-Type: text/plain; charset="us-ascii" That's what I thought. You say that, but I don't see any errors. For example, I have a servlet that's accessed by using /Myapp/servlet/MyServlet. This works and shows the updated version every time. As soon as the change is made you can refresh the browser and the changes show up. But I also added a mapping to that same servlet using /Myapp/map/*. When you access the servlet this way you get the first response and from that time on you only get that response. If you change the information it just keeps showing the last responses information. If you then access the servlet using /Myapp/servlet/MyServlet it show the changes. But the other mapping will never change it just keeps showing the same response. I also get the same type of problem using jsp forwarding. Can you tell me what I should start looking for? The logs don't show any problems that I can see. Any suggestions? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 "Shapira, Yoav" 10/17/2003 08:05 AM Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject: RE: Server caching servlet response problem. Howdy, Tomcat doesn't cache servlet responses. It's that simple. The behavior you're seeing is most likely explained by an error in the your servlet: check the server logs. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: JStanczak@vinu.edu [mailto:JStanczak@vinu.edu] >Sent: Thursday, October 16, 2003 7:54 PM >To: tomcat-user@jakarta.apache.org >Subject: Server caching servlet response problem. > >I'm running a Tomcat 5 on Solaris 9. For some reason the server keeps >caching my responses. What happens is the first time I access my servlet >using a certain mapping the server caches that response and never updates >again. I have two instances of this. One is with a mapping to a servlet >using this pattern /SoftwareName/servlet/site/* the other is when I >forward from a jsp page to a servlet using the tag. Both of >these methods cache the first response and that's what's send for every >response. Even if I go to a completely different computer that's never >access before. Can someone tell me what's wrong. This can't be correct >behavior. > > >Thank You, > >Justin A. Stanczak >Web Manager >Shake Learning Resource Center >Vincennes University >(812)888-5813 This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --=_alternative 0067E07A05256DC2_=--