Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 3648 invoked from network); 12 Nov 1999 17:59:19 -0000 Received: from floraandfauna.com (HELO gefionsoftware.com) (gefion@209.210.26.42) by apache.org with SMTP; 12 Nov 1999 17:59:19 -0000 Received: from gefionsoftware.com (1Cust213.tnt2.redondo-beach.ca.da.uu.net [63.25.34.213]) by gefionsoftware.com (8.8.8/8.7.1) with ESMTP id SAA06926 for ; Fri, 12 Nov 1999 18:08:53 GMT Message-ID: <382C54F9.C494FC39@gefionsoftware.com> Date: Fri, 12 Nov 1999 09:57:13 -0800 From: Hans Bergsten Organization: Gefion software X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Taglib URI References: <382C3612.715C@fernuni-hagen.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Joerg Brunsmann wrote: > > Hi, > > I was playing with > > examples/jsp/simpletag/foo.jsp > > and discovered that the uri of the taglib > directive is: > > uri="http://java.apache.org/tomcat/examples-taglib" > > Is the assumption correct that this uri is a hard > wired map to the file > > ./examples/WEB-INF/jsp/example-taglib.tld > > If not, how do I specify another taglib? > > Any comment, suggestion or hint is welcome. It's described in the JSP 1.1 spec, http://java.sun.com/products/jsp The "uri" attribute is either a URI relative to the application's URI root pointing directly to the TLD, or as in this case, a "symbolic" URI that is further defined in the web.xml file. In the web.xml file the symbolic URI is mapped to the real location. Look at the examples/WEB-INF/web.xml file in the Tomcat build directory to see how it works. Hans -- Hans Bergsten hans@gefionsoftware.com Gefion Software http://www.gefionsoftware.com