logo       

Re: JSPs don't recompile automatically?: msg#00184

java.jetty.support

Subject: Re: JSPs don't recompile automatically?


Try using Java 1.4.x

Older JVMs had a bug in their File URLHandlers for lastModified times.
Jasper used to work around this, but no longer does.

If you have to run with 1.3, you can try installing an alternate
file URL handler that does not have the bug in it.

regards


M. A. Sridhar wrote:> Hi folks,
>
> I know I must be doing something really silly, but I can't quite
> figure it out. I am just beginning to use JSP with Jetty. For some
> reason, the JSP page does not automatically recompiled when I make a
> change to it. I have configured Jetty using the XML file below. I
> would greatly appreciate any pointers. I'm using Jetty 4.1.2, if that
> matters. Thanks in advance.
>
> Sridhar
>
> --------------------------------------------------------------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure
> 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd";>
>
> <Configure class="org.mortbay.jetty.Server">
>
> <!-- The following section can be uncommented to control the
> debugging and logging mechanism.
> <Set name="Debug" class="org.mortbay.util.Code"
> type="boolean">false</Set>
> <Set name="Verbose" class="org.mortbay.util.Code" type="int">0</Set>
> <Set name="DebugPatterns" class="org.mortbay.util.Code"
> type="String"></Set>
>
> <Call name="instance" class="org.mortbay.util.Log">
> <Call name="disableLog"/>
> <Call name="add">
> <Arg>
> <New class="org.mortbay.util.OutputStreamLogSink">
> <Arg><SystemProperty name="jetty.log"
> default="./logs"/>/yyyy_mm_dd.log</Arg>
> <Set name="RetainDays">90</Set>
> <Set name="Append">true</Set>
> <Call name="start"/>
> </New>
> </Arg>
> </Call>
> </Call>
> -->
>
> <Set name="Debug" class="org.mortbay.util.Code"
> type="boolean">false</Set>
> <Set name="Verbose" class="org.mortbay.util.Code" type="int">0</Set>
> <Set name="DebugPatterns" class="org.mortbay.util.Code"
> type="String"></Set>
>
>
> <!-- Configure the listeners -->
> <Call name="addListener">
> <Arg>
> <New class="org.mortbay.http.SocketListener">
> <Set name="Port">9100</Set>
> <Set name="MinThreads">5</Set>
> <Set name="MaxThreads">50</Set>
> <Set name="MaxIdleTimeMs">30000</Set>
> <Set name="MaxStopTimeMs">5000</Set>
> <Set name="LowResourcePersistTimeMs">2000</Set>
> <Set name="confidentialPort">8443</Set>
> </New>
> </Arg>
> </Call>
>
> <Call name="addContext">
> <Arg>/</Arg>
> <Set name="ResourceBase">/home/sridhar/jspTest</Set>
> <Call name="addServlet">
> <Arg>JSP</Arg>
> <Arg>*.jsp:*.jsP:*.jSp:*.jSP:*.Jsp:*.JsP:*.JSp:*.JSP</Arg>
> <Arg>org.apache.jasper.servlet.JspServlet</Arg>
> <Put name="keepGenerated">false</Put>
> <Put name="scratchdir"><SystemProperty name="siteRoot"
> />/jspCompiled</Put>
> </Call>
> </Call>
>
>
> </Configure>
>
>
>
>
>
> For the latest information about Jetty, please see http://jetty.mortbay.org
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>



--
Greg Wilkins<gregw@xxxxxxxxxxx> Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK. http://www.mortbay.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise