http://people.apache.org/~fhanik/precompile.html
Filip
motit wrote:
1. see my ant script below
2. I didn’t change the jasper’s package name hierarchy (e.g org.apache.jsp)
3. I did update my war’s web.xml with the jspservet mapping with *.jsp
4. I have assisted by
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html
<target name="compile.jsp">
<taskdef classname="org.apache.jasper.JspC" name="jasper" >
<classpath>
<fileset dir="${tomcat.home}/lib">
<include name="jasper.jar"/>
<include name="jasper-el.jar"/>
<include name="servlet-api.jar"/>
<include name="jsp-api.jar"/>
<include name="el-api.jar"/>
</fileset>
<fileset dir="${tomcat.home}/bin">
<include name="tomcat-juli.jar"/>
</fileset>
</classpath>
</taskdef>
<jasper uriRoot="{jsp.src}" outputDir="{temp}"/>
<javac srcdir="{temp}"
destdir="${tomcat.home}/${webapp.path}/WEB-INF/classes" debug="on"
verbose="true">
<classpath>
…
</classpath>
</javac>
</target>
Thanks
Moti
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org