You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Domenico di Girolamo <md...@quipo.it> on 2000/09/12 17:55:21 UTC

JSP reloading

I have a problem with JSP reloading.
If I modify  "my.jsp" I get the old "my.jsp" results.
Then I have deleted the "my.jsp", but Tomcat continue to response me "my.jsp".
Tomcat continue to response me "my.jsp" also if i reboot Server and Client PCs.
If I stop Tomcat the client PC don not get "my.jsp".
Who can help me to resolve this problem ?
Thanks in advance.
Domenico di Girolamo


Re: JSP reloading

Posted by Rafael Aguiar Pedrosa <ag...@cps.sydeco.com.br>.
You can try these tags bellow, they ensure that no page cache will be made
on your browser.


put this in the beggining of your jsp source code.


<%
  response.setHeader("Cache-Control","no-store"); file://HTTP 1.1
  response.setHeader("Pragma","no-cache"); file://HTTP 1.0
  response.setDateHeader ("Expires", 0); file://prevents caching at the
proxy server
%>



Aguiar

Sydeco Developers Team


> I have a problem with JSP reloading.
> If I modify  "my.jsp" I get the old "my.jsp" results.
> Then I have deleted the "my.jsp", but Tomcat continue to response me
"my.jsp".
> Tomcat continue to response me "my.jsp" also if i reboot Server and Client
PCs.
> If I stop Tomcat the client PC don not get "my.jsp".
> Who can help me to resolve this problem ?
> Thanks in advance.
> Domenico di Girolamo