2 Replies Latest reply on Dec 9, 2002 2:12 AM by charlene

    JSP wont compile in Jetty

    charlene

      Hi,

      I'm trying to get a simple jsp to work in Cocoon 2.0.3
      deployed in Jetty (JBoss3.0.3/JBossWeb)

      But I cannot get the jsp to display/compile (it is
      even just pure HTML content at the moment!!)

      In the log I can see the following:
      /tmp/Jetty_0_0_0_0_10201__/docs/test$jsp.java:9:
      class org.apache.jsp.test$jsp must be declared
      abstract. It does not define java.util.List
      getIncludes() from class
      org.apache.jasper.runtime.HttpJspBase.
      public class test$jsp extends HttpJspBase {

      It -does- work ok with the JBoss3.0.3/TomCat4.1.12
      bundle however.

      Also, I deleted javax.servlet.jar and replaced it with the tomcat bundle's classes, jasper-*.jar and servlet.jar and this worked!

      Has anyone got JSP working oky in Jetty (with Cocoon)?

      Thanks

      Charlene

        • 1. Re: JSP wont compile in Jetty
          charlene

          Nope, it don't work - i am investigating on the Jetty Support group and if I find anything useful I'll post back for future reference, seems to be a conflict of javax.servlet.jar and Jasper amonsgt other things.

          Charlene

          • 2. Re: JSP wont compile in Jetty
            charlene

            Yes,

            I can confirm that there is a problem with Jetty and JSP, as acknowledge in the YahooGroups group jetty-support, you can now follow the thread there under the subject: "JSP Engine will not compile" if you are interested.

            Thanks for all the feedback & regards

            Charlene