On Sun, 13 Jan 2002, Michael Timpe wrote:

>
> Suppose You have an JSP page "prj_0000.jsp" that includes another JSP
> page by using a tag like this: <%@ include file="prj_0007.inc" %>
>
> If I have changed the file prj_0007.inc and I press "Reload" in the
> browser. The changes will have no effect (are not loaded into the
> browser). I have to change also the file "prj_0000.jsp" (by adding a
> blank line to the file to change the files modification date).
>
> How can I disable the "caching" of the JSPs within tomcat so that
> changes in included files have their effect?
>

No version of Tomcat currently recognizes changes to files included with
the <%@include%> directive -- you need to either modify the including
file, or use <jsp:include> instead (which performs the include at runtime
instead of compile time, and therefore recognizes the changes).

> Michael Timpe

Craig McClanahan


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to