struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pat Quinn" <>
Subject [OT] Precompiling JSP with JSTL tag Libs
Date Fri, 18 Jul 2003 15:41:33 GMT
Sorry guys this is not a struts question but i'm hoping someone on here has 
had this problem before.... ive got an ANT task to precompile my jsp's 
everything worked fine until i decided to upgrade to use JSTL tag libs not i 
get the following error,

[echo] Precompiling JSPS
2003-07-18 04:27:26 - Internal Error: File /WEB-INF/web.xml not found
2003-07-18 04:27:29 - ERROR-the file '\jsp\myjsp.jsp'
generated the following general exception: org.apache.jasper.JasperException

: XML parsing error on file /WEB-INF/tld/c.tld: (line 307, col 39):
The string "--" is not permitted within comments.
[jasper] Error in class org.apache.jasper.JspC

MyJsp.jsp is the only jsp which is currently using the c.tld.

My ANT Task is as follows:

    <target name="jsp"  depends="webinf">
        <taskdef name="jasper"

        <echo message="Precompiling JSPS"/>

        <jasper package=""
                outputDir="${web.src.dir}" />

Any Ideas as i'm going crazy now.... I've tried upgrading to xerces 2.4.0 
but i still get the same error.

Protect your PC - get VirusScan Online

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

View raw message