> -----Ursprüngliche Nachricht----- > > MORE INFO: > > my taglib entry in web.xml is as follows. it looks pretty standard to me, > and i don't see where the problem is. the ant error message i'm getting > back isn't saying anything about where the problem may be. > <taglib> > <taglib-uri>/bcs</taglib-uri> > <taglib-location>/WEB-INF/taglib.tld</taglib-location> > </taglib> > > the jsp page that fails to compile with jspc has the following import: > <%@ taglib uri="/bcs" prefix="bcs" %> > > works fine when deployed to jboss w/ jetty (my app server). i'm using > jasper runtime 4.0.6, are they're any known issues, or should i > update to a > newer version?
No, I am using 18347 23-Sep-2002 11:22:42 org/apache/jasper/JspC.class and getting an error with the taglibs. I do not know if this is a known issue with jasper. The error I get is with a taglib directive that looks like: <%@ taglib uri="http://jakarta.apache.org/taglibs/dbtags" prefix="sql" %> even though I have the follwoing entry in my web.xml. <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/dbtags</taglib-uri> <taglib-location>/WEB-INF/dbtags.tld</taglib-location> </taglib> Very strange, as the jasper jspc used to work so well! Sorry I can not help. Nick > > > > -----Original Message----- > From: Nick Pellow [mailto:nick.pellow@;mindmatics.de] > Sent: Monday, October 28, 2002 6:50 AM > To: Ant Users List > Subject: AW: jspc with taglib > > > > > > -----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> -- 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> -- To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>