Title: Include file in Jsp -recompile issue
I have Jsp files which include other jsps.
If the included jsp is changed Tomcat doesn't recompile the main jsp
unless i go and touch the main jsp file.
Is this a bug or is this configurable or am i just wrong ??
Srini
Title: Include file in Jsp -recompile issue
Isn't the include a statement that gets executed
during runtime.so if a sub page is changed, there is no need to recompile the
main page. because the include will be dynamically executed.
Filip
~Namaste - I bow to the divine in
you~Filip
Title: Include file in Jsp -recompile issue
No,
the @include file= is done at compile time, and Srini is correct, only the top
level jsp pages get time checked, not the included ones.
-Original Message-From: Filip Hanik
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 06, 2001
Title: Include file in Jsp -recompile issue
My
understanding was that there are two types of include:
1. one
with the :include directive and
2.
with the %@ include file % directive.
I am
using the second one , in which case it shd just include the file and make it
into one big file
Title: Include file in Jsp -recompile issue
gotcha,
I was referring to
RequestDispatcher.include
Filip
~Namaste - I bow to the divine in you~Filip HanikSoftware
Architect[EMAIL PROTECTED]www.filip.net
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED
Title: Include file in Jsp -recompile issue
Thanks
for the info Charles. Will let you know if it doesn't work.
Srini
-Original Message-From: Charles Lee
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 06, 2001 5:28
PMTo: [EMAIL PROTECTED]Subject: RE: Include
file in Jsp
Title: Include file in Jsp -recompile issue
To
answer your question about this being a bug, no it is not a bug.
Specifically, the jsp 1.1 specification does not have a means to notify
the jsp engine
that
the include file has changed.
-Original Message-From: Charles Lee