Thanks, but that's not the problem. I know how to use Ant and jspc. The question is whether/how I can tell Tomcat to load pre-compiled JSPs from my war file which is not unpacked as I deploy with unpackWars set to false.

Any ideas?

Reinhard


Johannes Fiala wrote:


Hi Reinhard,

Using TC 4.1.24+ you can use ant to first run JspC and deploy the resulting WAR using the manager app.

You can find more info here:
http://www.fwd.at/tomcat/buildmanagement-using-ant-howto.html

Johannes




Reinhard Nägele <[EMAIL PROTECTED]> 10.07.2003 15:38
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>



To [EMAIL PROTECTED] cc

Subject
war deployment and jsp pre-compilation






We deploy our application as war file with the manager. "unpackWars" is set to false. Is it possible to deploy pre-compiled JSPs with this approach? I guess this would imply that we'd have to have a context.xml in our war file specifying that Tomcat should load the compiled JSP classes from the war file instead of from its working directory. Can this be done?


Reinhard



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to