Hi Chris,

I tried this and it seems to work!

Tomcat+Jikes info is out of date
Yair Zadik, Mar 20, 2001

Tomcat 3.2 doesn't read the conf/web.xml file anymore.
If you want Jikes to be your java compiler you need to add
the
lines from conf/web.xml to your webapp's web.xml file.


Adding:

<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>
  <load-on-startup>
    -2147483646
  </load-on-startup>
</servlet>

<servlet-mapping>
  <servlet-name>
    jsp
  </servlet-name>
  <url-pattern>
    *.jsp
  </url-pattern>
</servlet-mapping>

seems to do the trick.

Hope this helps!

--
a s h i s h @ j d g n p . o r g
Get Headlines 0.5.4 for free at
http://headlines.sourceforge.net/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to