2 Replies Latest reply on Jan 19, 2004 7:17 AM by sbrbot

    How to apply the prcompile jsp in Jboss

    fkclai

      hi all

      I am using the JSPC task or invoking directly org.apache.jasper.Jspc

      I have succesed to precompile the jsp into java and compile it into class.
      Then I jar it to a war file and deploy in C:\jboss-3.0.1_tomcat-4.0.4\server\default\deploy

      BUT, Jboss can't find my precompiled jsp

      is it the naming problem or any I need to set????????

      how can I disable the run time compile?

      Thanks,
      Calvin Lai

        • 1. Re: How to apply the prcompile jsp in Jboss
          darranl

          Please don't cross post.

          • 2. Re: How to apply the prcompile jsp in Jboss
            sbrbot

            I have some expiriences with BEA WebLogic and there is proprietary parameter where one can define the web application to be precompiled upon server start. Unfortunately, I haven't found anything like that for JBoss! There is only solution to define JSP as a servlet in your web app conf file: If a jsp-file is specified like servlet and the load-on-startup element is present, then the JSP should be precompiled and loaded. Used in: web-app