2010/3/25 Pid <p...@pidster.com>: > On 25/03/2010 16:56, fred basset wrote: >> >> As per the subject line, can I configure Tomcat to pre-compile the >> JSPs before we ship out a .war file? > > The catalina-tasks.xml file in tomcat/bin contains some importable ant > tasks. > > See also: > > http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html >
Please note, though, that 1. You must use exactly the same version of Tomcat (x.y.z) as the one where you will be deploying your war file. 2. Some Jasper options and system properties affect compilation. It is unlikely that that will be a concern for you, though. 3. It is possible to precompile JSP pages of a web application that is already deployed on the web server. See chapter JSP.11.4.2 "Precompilation Protocol" in the JSP 2.1 specification. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org