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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to