1. Download and install the jikes compiler. You can download jikes from:

        oss.software.ibm.com/developerworks/opensource/jikes/project/


2. Append the path to the jikes directory in your PATH environment variable.


3. Append the path to the rt.jar file from the Java Runtime Environment (JRE) to the CLASSPATH environment variable. In Sun's JDK1.3, rt.jar can be found in ..\jdk1.3\jre\lib\rt.jar


4. Edit the webdefault.xml file in the \jetty3\etc directory. Find the portion that reads:

        <servlet>
                <servlet-name>JSP</servlet-name> 
                <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        </servlet>
   Add the following initalization parameter, like so:
        <servlet>
                <servlet-name>JSP</servlet-name>
                <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
                <init-param>
                        <param-name>jspCompilerPlugin</param-name>
                        <param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
                </init-param>
        </servlet>


5. For each web application that you add to /etc/jetty.xml, reference the webdefault.xml file as the third argument passed to the addWebApplication() method. For example:

        <Call name="addWebApplication">
                <Arg>/fooapp/*</Arg> 
                <Arg>webapps/fooapp/</Arg> 
========>    <Arg>etc/webdefault.xml/</Arg> 
        </Call>


6. Restart the org.mortbay.jetty.Server instance, if it is currently running.