Ok.. I've searched the JBoss and Jetty documentation and I can't seem to find the answer. Anyone know how to precompile JSP when deploying a war file on JBoss?
I am a WebLogic guy helping out someone that's new to JBoss. In WebLogic, you just include a file called weblogic.xml that looks like this:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEASystems, Inc.//DTD Web Application 7.0//EN" "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd">
<weblogic-web-app>
<jsp-descriptor>
<jsp-param>
<param-name>compileCommand</param-name>
<param-value>javac</param-value>
</jsp-param>
<jsp-param>
<param-name>precompile</param-name>
<param-value>true</param-value>
</jsp-param>
<jsp-param>
<param-name>workingDir</param-name>
<param-value>/usr/local/bea/jsp_compile</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
<jsp-param>
<param-name>verbose</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
</weblogic-web-app>
Any ideas? Drop me an email. Thanks
JBoss, WebLogic, JSP, pre-compile
{ 1 comment }
Hey!
Did you find an answer to your question?
this is regarding precompiling JSPs on JBoss.
Thanks in Advance.
Comments on this entry are closed.