tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Any way to pre-compile JSPs in Tomcat
Date Thu, 25 Mar 2010 19:41:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 3/25/2010 2:01 PM, Konstantin Kolinko wrote:
> 2010/3/25 Pid <pid@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.

Do you mean that you'll need to use a matching version in order to enjoy
all the benefits and features of that version, or is there something
more sinister?

I would expect that you can pre-compile JSPs into servlets that will run
on any servlet container using the same servlet API version and tag
library versions (including JSTL, which might vary from Tomcat-to-Tomcat).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurvH0ACgkQ9CaO5/Lv0PB4QACdFQ8ukAlZwVG9YNbAr+54iLxH
6QgAn17IzykgGW7Iou9kDYUGNsPnFu4z
=PGjw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message