ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Pellow" <nick.pel...@mindmatics.de>
Subject AW: jspc with taglib
Date Mon, 28 Oct 2002 12:49:40 GMT


> -----Ursprungliche Nachricht-----
> Von: Dennis Doubleday [mailto:dennis@righthandmanager.com]
>
> No. It works for me, and my target is just:

I do not suppose you are using any fully qualified taglib names are you?
I am getting the following error:
Exception initializing TldLocationsCache: XML parsing error on file
/WEB-INF/web.xml:
Internal Error: File /javax/servlet/resources/web-app_2_3.dtd not found
ERROR-the file '\tools\convertUI.jsp' generated the following general
exception: org.apache.jasper.JasperException: null(-1,-1) This absolute uri
(http://jakarta.apache.org/taglibs/utility) cannot be resolved in either
web.xml or the jar files deployed with this application

Although I do have the following entry in the web.xml:

       <taglib>
          <taglib-uri>http://jakarta.apache.org/taglibs/utility</taglib-uri>
          <taglib-location>/WEB-INF/utility.tld</taglib-location>
      </taglib>

Nick.


>
>         <jspc srcdir="${jsp.dir}" destdir="${jsp.build.dir}"
>               classpathref="build.classpath">
>             <include name="**/*.jsp" />
>           </jspc>
>
> By the way, I should add "works for me" means that jsp compilation is
> successful, not that it achieves my goal, which is pre-compilation for
> deployment to Tomcat. jspc doesn't translate the files to the names
> Tomcat wants, so it can't use the class files anyway.
>
> > -----Original Message-----
> > From: Sonnek, Ryan [mailto:Ryan.Sonnek@bpc.com]
> > Sent: Friday, October 25, 2002 4:27 PM
> > To: 'Ant Users List'
> > Subject: RE: jspc with taglib
> >
> >
> > yes, and jspc runs just fine normally untill i decided to add
> > a tag library to my jsp page.  i only run my pages through a
> > compiler to check for syntax errors, otherwise i normally
> > just deploy the war file.  after i added the taglibs, the tag
> > works on the deployed war, but if i run it through jspc it fails.
> >
> > any ideas?
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message