Include the following piece of code in your jsp's, check doing the same and
reply if the problem still persists...
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setHeader("Expires","-1");
%>
-----Original Message-----
From: Christian Endres [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 1:56 PM
To: Tomcat User
Subject: Configuration Tomcat 4.0.1 for developing JSPs
Hello,
for a project we are using JSPs. For developing we are working with
JBuilder5 Enterprise under Windows 2000. The running Tomcat version is
4.0.1. So far everything works fine.
The problem we have is following:
When we are testing the JSPs Tomcat is compiling them correctly an we
can look at them in the browsers (Netscape 4.7x, Netscape 6 IE 5 and 6).
But when we are making changes in the JSPs Tomcat doesn't recognize the
changes and only shows the JSPs earlier compiled. When we delete Tomcats
cache directory and restart Tomcat the newer JSPs will be compiled and
everything is fine again.
Now we would like to know if there is a possibility to tell Tomcat to
check the JSPs for changes or do we always have to delete the cache and
restart Tomcat?
Best regards
Christian
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>