tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Tatum <>
Subject Re: Problems with caching?
Date Fri, 06 Apr 2001 18:28:22 GMT
Are you using the include file directive to include the files? If you
are, then that is the problem. JSP's won't recompile if a file they
include is updated, only if the jsp file itself is updated. There are
two ways to get around this:

1. Load the jsp file and save it (may have to add a space, remove it,
then save or something similar)
2. Use the touch command unix to update the timestamps on all your jsp
files. This will cause them all to recompile. (e.g. go to your dir with
the jsp's and do a "touch *.jsp") This might be preferable since you are
dealing with header includes.

Hope this helps.


Melissa Matthews wrote:

> Does anyone know if there is a problem with regular HTML files being
> somehow cached by Tomcat 3.2.1 on Solaris 2.8?   I have replaced
> some HTML header pages, but I still see the old ones.  I have searched
> and can not find those files anywhere.  If I go
> directly to an shtml file that includes the HTML header files, it
> shows the new header, but the JSP pages always show
> the old headers.  I tried renaming the header to another name and then
> the JSP page showed the new header.
> I have deleted all of the pages from the work directory.
> Any suggestions?  Thanks in advance.
> Melissa

Scott Tatum |
Senior Applications Developer, Special Projects
WorldCom |

View raw message