tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Kreitzer <kreitz...@yahoo.com>
Subject Re: Included (<jsp:include .../> JSP not being recompiled
Date Mon, 05 Nov 2001 04:09:06 GMT
I've seen similar problems with other application
servers.  You can think of it like this.  The include
is just a "pointer" to the other page and since the
pointer doesn't acctually change, it sees no reason to
recompile.  I would guess that you cannot change this
"feature".

bk

--- Janek Bogucki <janekdb@yahoo.co.uk> wrote:
> I seem to have a problem with Tomcat not recompling
> a
> changed JSP when the JSP is only used as an included
> file with <jsp:include/>.
> 
> I have a page which includes another JSPs:
> 
> /MyJSP.html:
> 
> <%@ page errorPage="/error.html" %>
> <html>
> ...
> <jsp:include page="/_include/st.html#header.jsp" 
> flush="true" />
> ...
> </html>
> 
> 
> This is my included file, just static HTML:
> 
> /_include/st.html#header.jsp:
> 
> <some static HTML>
> 
> 
> If 'MyJSP.html' is modified it's recompiled and
> served
> out okay. However if '/_include/st.html#header.jsp'
> is
> modified 'MyJSP.html' continues to use the old
> version
> until I forced a recompile of
> '/_include/st.html#header.jsp' by deleting the
> out-of-date class from /work.
> 
> Is there anything I can do to get
> '/_include/st.html#header.jsp' to recompile
> automatically when it's modifed?
> 
> Thanks,
> Janek Bogucki
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page from
> News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


=====
Brian Kreitzer

Owner
Kreitzer Kreations

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message