Snip ...
Try setting "classPath" attribute on <jasper> element. http://svn.apache.org/viewvc/tomcat/tc7.0.x/tags/TOMCAT_7_0_54/java/org/apache/jasper/JspC.java?view=markup#l766 Best regards, Konstantin Kolinko Konstantin, Thanks for your information. Now I can include the jar file through specifying the CLASSPATH attribute in the build file. But another new issue comes out: When building the following code, it reports error. <h3>Iterating over a range</h3> <c:set var="num" value="20" /> <c:forEach var="item" begin="1" end="${num}"> ${item} </c:forEach> BUILD FAILED /home/jeffcai/ant_test/build.xml:13: org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "${num}" This error happens on Tomcat 7.0.54 while not on 8.0.8. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org