-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Jeff,
On 6/9/14, 1:39 AM, Jeff Cai wrote: > 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. What does your taglib declaration look like? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTleaqAAoJEBzwKT+lPKRYsOIP+gK0+1b4Vx/D21tBRuc39N0A 6oHNL0Bcx/huAeEInyinf6h6GtAbvc62UwZqj5JjRw7XrG7UtnbNfrD/ZoF5kbDD TBaoqaSZb+8xy8BMsgrKRSK91LTFz5wyVwumMEnRfWBFvmpFlLOenft+SEAsxsvs wyjGCwygzzI7Yg1JbRhuWimSmWYshK27DSYsvR5foNY55s8fio/jOoBEVBQfFWXB sua1ET02/4+Qbvnth+u0B3jAJl+zGRa+MsnsQ/LKVwxu2vICpy4jKxKiyHW6Hltz sQgaVAjShj+57R0l0F81Nq1kTKdzM80ac+YPNWBBry5clwoRW8UbCs4DGWzNPNsx gP5SelMuFCfPxL7Xi4O1AwdKMZNG2EtTeGqtKj9i72AXhgupTyh1WDcLewUvj9c3 KabLxs0ZqxS4koCTBD77LNPTCEs1V8sW4p420wBrbIXkXu+8xV3+isZb7o07VghT rlUas+CgtKBCeWMzNi/EcMCKDFBEc1sc+bYVRE5+baLXUKCfaywMpF1ISDGjGWtb kk3HrQphkyH5E9YOfzYp2GIRXbVdycaZRlm0FgmDvJUPnPKSw4JXvEGFCLA2Jkdy fHQ8WyNcc1MTpXCh+RgiOwEw1YXFshMPdngEWws9XQHSr31YWhix7rjBXg6gd/fz gzNqXeOSddXkUp4w69GI =elu3 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org