ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Ant task to pre-compile JSPs
Date Tue, 07 Apr 2009 06:36:40 GMT
>What is the Ant task to pre-compile JSPs into class/java 
>files?  I'm using Ant 1.6, WebLogic 9.2.2 with Java 1.5.  

This is an often asked question, so I added a FAQ entry

"Ant has a built in optional task <jspc>  which was intended for that.
But this task is deprecated.  Here the alternative suggested by the

Instead of relying on container specific JSP-compilers we suggest
deploying the raw files (*.jsp) and use the container build-in
functions: after deploying run a test suite (e.g. with Cactus or
HttpUnit) against the deployed web application. So you'll get then test
result and the compiled JSPs."


The website need a little bit time for being updated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message