tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Schrag" <msch...@experient.com>
Subject [PATCH] turn off dirty JSP recompilation
Date Wed, 14 Jun 2000 22:43:15 GMT
This is a patch against TOMCAT_31.  It gives the user the option to turning
off recompilation of JSP's in the case where they are considered dirty.  I
have an application that we will be deploying where I never want it to
recompile JSP's unless I explicitly replace the classes.  So this patch adds
the following init-param:

<init-param>
    <param-name>recompileDirty</param-name>
    <param-value>false</param-value>
</init-param>

, defaults to true to maintain compatibility, patches Options.java,
JspC.java, and EmbededTomcat.java adding a getRecompileDirty(), and patches
JspServlet.java to perform a check.  It will compile if firstTime = true (in
loadJSP), but it will fall out otherwise.

Mike

Mime
View raw message