There are 2 kinds of includes, one is compile time, one is runtime. If you're using a
compile time include, i.e. %@ include file=include.jsp% then you need to update
the file that is calling the include. For example, 'touch
file_that_includes_something.jsp'. This is not a bug.
With static includes, that's Tomcat's normal operation. The
reason being that recursively checking timestamps on all
includes could become very expensive. You can use the
touch utility if you don't want to edit the file.
Another option is to use dynamic includes with jsp:include...
if it's
Hi,
About the performance, if i use runtime include, does
it mean the each time that page it called it compiles
the included jsp??? is there any good documentation of
what is the difference between these two type of
includes??
Also where can i get this touch utility??
is there any documentation
No, it doesn't compile the included JSP every time. The difference
is that with static includes, the code is included directly into the servlet
created by the JSP. With dynamic includes, the output of the included
JSP is generated at the point you include it and sent to the client. It's
a