tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Gabriel" <>
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.

-----Original Message-----
From: []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.



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
> 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
> it isnot already there.
> Regards
> Sam
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message