tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Cheesman <jch...@msl.es>
Subject Using Jikes for JSPs with Tomcat 4.0
Date Mon, 23 Jul 2001 10:11:32 GMT
With Tomcat 3.2 I've been using the following in my web.xml, which works fine:
   <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>
     <init-param>
         <param-name>jspCompilerPath</param-name>
         <param-value>e:\jdk1.3\bin\jikes.exe</param-value>
     </init-param>
     <load-on-startup>1</load-on-startup>
   </servlet>
   <servlet-mapping>
     <servlet-name>jsp</servlet-name>
     <url-pattern>*.jsp</url-pattern>
   </servlet-mapping>


With tomcat 4 I get an error on start up...

Starting service Tomcat-Standalone
Apache Tomcat/4.0-b6
ERROR reading java.io.FileInputStream@228a02
At Line 60 /web-app/servlet/

... where line 60 is the </servlet> tag.


How should I be (can I) set this up?



--

                           *   Jim Cheesman   *
             Trabajo: 
jchees@msl.es - (34)(91) 724 9200 x 2360
              Always be on the 
lookout for conspicuousness.



Mime
View raw message