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"
/>
I know the requirements sound cobtradictory, but they are what they are.
Any help would be appreciated.
Thanks
-Siddharth