Results 1 to 2 of 2
  1. #1
    Rein is offline Member
    Join Date
    Dec 2010
    Rep Power

    Post Custom JSP Complier in Tomcat 6 ?

    Im moving my application server from Resin to Tomcat 6. In the process i am facing lots of problems wrt to JSP compilation. (receive loads of JasperExceptions due to syntax errors).
    My JSP's using JSTL 1.1 compile and run smootly in Resin .

    Is there any way i can use Resin's JSP complition class i.e "com.caucho.jsp.JspCompiler" instead of the Jasper compiler provided in Tomcat 6.

    In short Tomcat to use a specific complier instead of Jasper


  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    This is a page about replacing Jasper with Jikes.

    The important bit, which I think might work for you, is:
    Make Jikes your JSP compiler for Tomcat by adding to /usr/local/tomcat/conf/web.xml:
    Java Code:
    Since entering the full path to Jikes in /usr/local/tomcat/conf/web.xml doesn't seem to work (version 4.1.27), make the jikes program available in your path:
    Java Code:
      ln -s /usr/local/jikes/bin/jikes /usr/local/bin/jikes
    The second bit you might have to figure out yourself, though.

Similar Threads

  1. Using custom exceptions help
    By ImWithStupid in forum New To Java
    Replies: 1
    Last Post: 11-17-2010, 06:41 AM
  2. Custom GUI...Help?!
    By wadhah.alhaddad in forum New To Java
    Replies: 1
    Last Post: 02-07-2010, 04:54 PM
  3. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 11:33 AM
  4. Custom tgs in JSP
    By ravian in forum New To Java
    Replies: 2
    Last Post: 12-29-2007, 06:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts