Return-Path: Mailing-List: contact watchdog-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list watchdog-dev@jakarta.apache.org Received: (qmail 21669 invoked from network); 31 Jul 2000 16:28:29 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 31 Jul 2000 16:28:29 -0000 Received: from shorter.eng.sun.com ([129.144.123.35]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA07556 for ; Mon, 31 Jul 2000 09:28:24 -0700 (PDT) Received: from Sun.COM (perian [129.144.252.125]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id JAA00053 for ; Mon, 31 Jul 2000 09:28:24 -0700 (PDT) Sender: Sravankumar.Duggaraju@eng.sun.com Message-ID: <3985A926.1C921C09@Sun.COM> Date: Mon, 31 Jul 2000 09:28:22 -0700 From: sravankumar duggaraju Organization: Sun Microsystems X-Mailer: Mozilla 4.51 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: watchdog-dev@jakarta.apache.org Subject: Re: Help for using tag libs References: <20000731152544.18616.qmail@web106.yahoomail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Why don't you try once again by putting "/" before firelib both in taglib directive ( i.e uri="/firelib") and in web.xml uri mapping, like taglib-uri> /firelib Juergen Weber wrote: > > Hello, > > I'm having difficulties configuring tag libraries. > > I assume: > > taglib-uri is any string, could be random letters, it > is used in .jsp for taglib url= > > taglib-location is the location below the webapp file > > I have: > > Context log: path="/fire" Adding context path="/fire" > docBase="webapps/fire" > > C:\Apache\tomcat\webapps\fire\template.jsp: > > <%@ taglib uri="firelib" prefix="foo" %> > > C:\Apache\tomcat\webapps\fire\WEB-INF\tlds\taglib.tld > > C:\Apache\tomcat\webapps\fire\WEB-INF\web.xml : > > > > firelib > > > /WEB-INF/tlds/taglib.tld > > > > But tomcat 3.1 says: > > Internal Servlet Error: > > org.apache.jasper.JasperException: Unable to open > taglibrary firelib : Parse Error in the tag library > descriptor: com.sun.xml.parser/V-005 web-app > at > org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java, > Compiled Code) > at > org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116) > at > org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, > Compiled Code) > > > Thanks for your hints, > Juergen > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/