In case you didn't know, you can precompile a specific jsp by simply making
a reqest to the page with a special paramter:

ttp://myapp/somepage.jsp?jsp_precompile

If you don't have a huge number of pages this might form the basis of a
quick and dirty hack.

Paul

-----Original Message-----
From: Ruth, Brice [mailto:[EMAIL PROTECTED]
Sent: 31 October 2003 15:14
To: Struts Users Mailing List
Subject: Eclipse + Ant + precompile -> Tomcat


I've been doing some googling on having a webapp precompiled when 
deployed to Tomcat via an Ant task and I'm a bit intimidated with what's 
involved. Has anyone out there done this? Right now, I have an Ant build 
setup as an external build in Eclipse that does a variety of things, 
including building, packing up my WAR, and installing this WAR to Tomcat 
using the catalina-ant "install" command that uses the management URL 
and an external context file to install the webapp in a (local) running 
Tomcat instance.

I'd like to follow-up the install with a directive to Tomcat to 
precompile the JSPs in the web application - does anyone have an Ant 
task that I could adapt to this purpose that they'd be willing to share?

Thanks!

-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.



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


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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

Reply via email to