-
1. Re: How to avoid JSP recompilation on Jetty?
vitaliy May 16, 2003 7:43 AM (in response to vitaliy)I mean how to avoid the recompilation of UNCHANGED JSP pages after server restart or redeployment.
Thank you. -
2. Re: How to avoid JSP recompilation on Jetty?
dionatan May 21, 2003 6:15 PM (in response to vitaliy)Do you know how to avoid recompilation in Jetty?
How? -
3. Re: How to avoid JSP recompilation on Jetty?
vitaliy May 22, 2003 6:41 AM (in response to vitaliy)I don't know, I'm asking.
Is this a right place to ask?
Thanks. -
4. Re: How to avoid JSP recompilation on Jetty?
roberto May 22, 2003 9:48 AM (in response to vitaliy)You must set a ScratchDir under jetty
to do this..
under %JBOSS_HOME%\server\\deploy\jbossweb-jetty.sar
file webdefault.xml
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>scratchdir</param-name>
<param-value>SOMETHING</param-value>
</init-param>
<load-on-startup>0</load-on-startup> -
5. Re: How to avoid JSP recompilation on Jetty?
erikture May 23, 2003 11:53 AM (in response to vitaliy)Hello!
If you want to have different scratchdir for each application, ie .ear/war file you can specify this in the jetty-web.xml file located in the WEB-INF directory of your warfile.
Write like this.
jsp
scratchdir
c:/warfileA/compiled_jsp
The absolute path is not needed. The scratchdir can also be relative to the directory where you start Jboss-Jetty.
/Erik