tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Server caching servlet response problem.
Date Fri, 17 Oct 2003 18:54:38 GMT
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

"Shapira, Yoav" <>
10/17/2003 08:05 AM
Please respond to "Tomcat Users List"

        To:     "Tomcat Users List" <>
        Subject:        RE: Server caching servlet response problem.

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: []
>Sent: Thursday, October 16, 2003 7:54 PM
>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
>using a certain mapping the server caches that response and never
>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 <jsp:forward> tag. Both
>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
>Thank You,
>Justin A. Stanczak
>Web Manager
>Shake Learning Resource Center
>Vincennes University

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:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message