logo       

JSPs don't recompile automatically?: msg#00183

java.jetty.support

Subject: JSPs don't recompile automatically?

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>




------------------------ 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