struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [OT] Precompiling JSP with JSTL tag Libs
Date Fri, 18 Jul 2003 15:51:39 GMT
--- Pat Quinn <pat_quinn2009@hotmail.com> wrote:
> 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

You don't need to copy tld files anywhere under Servlet 2.3 containers. 
Remove the tlds and try again.

David

> 
> 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"
>                  classname="org.apache.jasper.JspC"
>                  classpath="${class.path}"/>
> 
>         <echo message="Precompiling JSPS"/>
> 
>         <jasper package="com.my.web.servlets"
>                 uriroot="${web.basedir}"
>                 webXmlFragment="${jsp.web.fragment.file}"
>                 outputDir="${web.src.dir}" />
>     </target>
> 
> 
> 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 McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message