1 Reply Latest reply on Jul 1, 2002 9:33 PM by Julian Gosnell

    Keeping generated servlet source

    Aidan Connolly Newbie

      Im using JBoss 3.0 with Jetty 4.0.1. Is it possible to keep the generated servlet source when jsp files are compiled.

        • 1. Re: Keeping generated servlet source
          Julian Gosnell Expert

          I posted this a while ago on jetty-discuss

          http://groups.yahoo.com/group/jetty-discuss/message/1642

          The etc/webdefault.xml file is now in your deploy/jbossweb/org.mortbay.jetty.jar.

          You could unpack this into deploy/jbossweb, remove the jar (to avoid confusion as to which copy of the resources to use), edit the org/mortbay/jetty/servlet/webdefault.xml and touch the META-INF/jboss-service.xml. This should cause JBoss to redeploy the Jetty (jbossweb) service with the new default settings for all webapps.

          Take heed of the note at the bottom of my posting.


          Jules

          P.S.

          If you are doing this because you are interested in figuring out how to precompile your JSPs, let me know and I will send you an example.