Oracle iPlanet Web Server 7.0.9 Developer's Guide to Java Web Applications

Using the Eclipse JDT Java Compiler

You can configure Web Server to use the Eclipse JDT Java compiler instead of Ant and another Java compiler.

ProcedureTo Configure Web Server to Use the Eclipse JDT Java Compiler

  1. Download jasper-jdt-6.0.26.jar from tomcat 6.0.26.

    This jar file is available from the tomcat maven repository at http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-jdt/6.0.26/

  2. Add the jar file to the class-path-suffix in server.xml

    For example:

    <jvm>
      ...
      <class-path-suffix>/tmp/jasper-jdt-6.0.26.jar</class-path-suffix>
      ...
    </jvm>
  3. Set the compiler to jdt for the JSP servlet in default-web.xml.

    For example:

    <servlet>
      <servlet-name>jsp</servlet-name>
      <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
      ...
      <init-param>
        <param-name>compiler</param-name>
        <param-value>jdt</param-value>
      </init-param>
      ...
    </servlet>