According to the 1.1 version of the JSP specification <jsp:include> tag
includes dynamic or static resource at request time. So, this means that
the page should not be recompiled if JRun follows the specification on this
issue (which I suspect they do).
If you are wanting to add static data you should use <%@ include file
="filename" %>. This directive includes the files input at compilation
time, so repeated requests will be faster with this directive instead of
the include action. Repeating: The include directive only works with
static data.
I hope this helps.
Adam
Cristian Satnic
<cristian.satnic@t To: JRun-Talk
<[EMAIL PROTECTED]>
igris.com> cc:
Subject: jsp:include, dynamic values
and page recompilation
11/15/00 05:10 PM
Please respond to
jrun-talk
Hi all,
I have this question which is very important for the project I'm working
on.
Page aaa.jsp, somewhere in its code, has the following:
<jsp:include page="<%= myFile %>" flush="true" />
where myFile is a string with the location of the .jsp file to be included.
The value of myFile changes depending on the value of the logged in user
(it
comes from a value in the database).
Now, in JRun 3.0, when myFile changes and a new .jsp file in included, does
this cause JRun to recompile aaa.jsp? This is very important. I want to
understand the mechanics of this and I can't find anything related to this.
I hope that JRun won't recompile because that's a lot of extra work for
JRun
(depending on the logged in user) but I can't confirm this.
Thanks for the help,
Cristian
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.