tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Gabriel" <sgabr...@brainfuse.com>
Subject RE: Tomcat JASPER Stop Reloading
Date Sun, 28 Apr 2002 21:47:52 GMT
Not sure why it cannot be disabled, we can use a configuration parameter,
the same way the reloadable attribute is used for the Context, there could
be another parameter called JspReloadable or something within that context.
Sam

-----Original Message-----
From: glenn@zathras.earthdome.org [mailto:glenn@zathras.earthdome.org]On
Behalf Of Glenn Nielsen
Sent: Saturday, April 27, 2002 8:30 PM
To: Tomcat Developers List
Subject: Re: Tomcat JASPER Stop Reloading


JSP page checking can not be disbled.

You may want to review the recent proposal and replies to it
for adding support to jasper for detecting changes to compile
time included pages.  It was suggested that background compiling
in a separate thread be added (along with the background thread
detecting file changes).  This might meet your needs by reducing
the latency due to checking for recompile to just a boolean test.

Regards,

Glenn

Samuel Gabriel wrote:
>
> Hi Guys,
> I asked this question before but I didn't get any answer, is there is a
> configuration to disable JASPER checking of the timestamp on the JSP page
> each request, it is an important configurtion in a production envirnoment
> where things seldom changes, it is the same concept as the reloadable flag
> for the Java classes, if we can disable the checking of the java classes
why
> not the Jsp pages as well, since it is compiled into servlet at the time,
> the request will be so much faster if it is directly invoke the compiled
> servlet without doing that extra check.
> Also another more complicated solution could be done by implementing a
> listener interface, where there will be this thread checking the timestamp
> of the pages every second or so and notify Jasper to recompile it if
> required.
>
> Please let me know your thoughts on that, I can add it to the JASPER code
if
> it isnot already there.
> Regards
> Sam
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>

--
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message