Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 99698 invoked by uid 500); 19 May 2001 21:00:45 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 99689 invoked from network); 19 May 2001 21:00:44 -0000 Date: Sat, 19 May 2001 16:58:57 -0400 (EDT) From: Aaron Mulder X-X-Sender: To: Subject: Re: Does the beta Tomcat 4 support multiple TLD files in a jar? In-Reply-To: <000701c0e0b8$519530b0$cda9ab81@ironmonkey> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Sat, 19 May 2001, Jayson Falkner wrote: > I assume it does. If so what is the correct way to use this functionality? I > have been having little luck trying and can't find the answer documented. > > Here is a little insight on what I was attempting. The JAR has all of the > class files in their correct directories along with a TLD in the META-INF > directory named "exampleTags.tld". > > exampleTags.tld has the uri element set with the value "/exampleTags.tld". > > ... > > ... > /exampleTags.tld > Well, first it shouldn't be just plain "uri": /myPRlibrary /WEB-INF/tlds/PRlibrary_1_4.tld And second, what are you using for the taglib-location? That's how it would locate the .tld file. If you're not using one, perhaps you need to prefix the URI with META-INF/ since all the TLDs are required to be in the META-INF directory of the packaged JAR. Aaron > I am trying the following with a JSP. > --- > <%@ taglib prefix="e" uri="/exampleTags.tld" %> > Here is the example tag output: > --- > But a servlet exception error message keeps popping up. > > org.apache.jasper.JasperException: File "/exampleTags.tld" not found > ... > > > Anyone had this before? Advice would be appreciated. > > Jayson Falkner > V.P./CTO, Amberjack Software LLC > Jayson@jspinsider.com > www.jspinsider.com > >