You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2002/07/25 17:31:12 UTC

Tomcato4.0.4 and included jsp compilation problem

Hi,
I m using tomcat4.0.4 , i found out today that when i
modify the included jsp , tomcat does not recompile
it.
i.e.
I have suppose a jsp called test.jsp and i include a
jsp called test1.jsp.
If for some reason i modify test1.jsp and dont modify
test.jsp.
tomcat does not recompile test.jsp so it is as if i am
using old test1.jsp,
but if i modify test.jsp (just add some space to make
it look new) it works,
so is this the correct way of working??
how does other app server behave, or is this a bug, or
need to do some settings???

Ashish


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcato4.0.4 and included jsp compilation problem

Posted by Jason Koeninger <jk...@jjcc.com>.
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 a major problem, but there's a performance impact.

Best Regards,

Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com

On Thu, 25 Jul 2002 08:31:12 -0700 (PDT), Ashish Kulkarni wrote:

>Hi,
>I m using tomcat4.0.4 , i found out today that when i
>modify the included jsp , tomcat does not recompile
>it.
>i.e.
>I have suppose a jsp called test.jsp and i include a
>jsp called test1.jsp.
>If for some reason i modify test1.jsp and dont modify
>test.jsp.
>tomcat does not recompile test.jsp so it is as if i am
>using old test1.jsp,
>but if i modify test.jsp (just add some space to make
>it look new) it works,
>so is this the correct way of working??
>how does other app server behave, or is this a bug, or
>need to do some settings???
>
>Ashish
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Health - Feel better, live better
>http://health.yahoo.com
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>