3 Replies Latest reply on Feb 5, 2010 7:07 AM by Vicky Kak

    Re-compilation of jsps after pre-compilation, possible?

    siddharth chhabra Newbie

      I have a weird requirement in that I need to pre-compile jsps for deployment.

      But after pre-compile, if the jsps get changed then I want them to be recompiled.

      Is it possible ?

       

      I was tryin to look at the options in the org.apache.jasper.servlet.JspServlet

      and had hoped this would work in the web.xml under jbossweb-tomcat55.sar\conf\ folder -

       

           <init-param>
               <param-name>development</param-name>
               <param-value>false</param-value>
            </init-param>
            <init-param>
               <param-name>checkInterval</param-name>
               <param-value>5</param-value>
            </init-param>

       

      I am using jboss4.0.3SP1 on jdk5.

       

      And these are my settins for jasper compilation task-

      <jasper2
                   validateXml="false"
                   uriroot="${store.war}"
                   webXmlFragment="${store.war}/WEB-INF/generated_web.xml"
                   outputDir="${store.war}/WEB-INF/src"
                   addWebXmlMappings="true"
          />

       

      Any help would be appreciated.

      Thanks

      -Siddharth

       

       

      Nothing selected
      I,