You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mykola A. Nickishov" <mn...@mn.com.ua> on 2002/07/06 22:13:31 UTC

Re: How to pre-compile JSP's ?

"John W. Warner" <jw...@ccs.nrl.navy.mil> writes:

> 1) If you use ANT or can use ant... Put the following in the build
> script.
> <!-- JSPC Precompile -->
> <target name="jspc" depends="init">
>   <java fork="yes" classname="org.apache.jasper.JspC">
>     <arg line="-uriroot /your/Catalina_home/webapps/context -d
>        /your/Catalina_home/WEB-INF/classes -p jsp -webapp
>        /your/Catalina_home/webapps/context" />
>   </java>
> </target>
> (from Jay Gardner's Message 04/08/2002 help with JspC)

Or simply use Ant's jspc optional task.

-- 
/me @ home
MAN-UANIC

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>