tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Any way to pre-compile JSPs in Tomcat
Date Thu, 25 Mar 2010 18:01:02 GMT
2010/3/25 Pid <>:
> 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:

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:
For additional commands, e-mail:

View raw message