[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    Re: taglib descriptor
From:       "Thomas Colin de Verdiere" <tdeverdiere () scort ! com>
Date:       2002-02-14 10:53:07
[Download RAW message or body]

I tried to put the taglib.tld in the jar, i'm using Tomcat 3.2.1, but 
what to put in the web.xml :
I put the path to the jar ..
/WEB-INF/lib/my-taglib.jar

jsp 1.2 :
Nothing

Thanks Dan, Martin, ..

Thomas

Martin Cooper wrote:

> ----- Original Message -----
> From: "Dan Mandell" <dmandell@stanford.edu>
> To: "Tag Libraries Users List" <taglibs-user@jakarta.apache.org>
> Sent: Wednesday, February 13, 2002 2:12 AM
> Subject: Re: taglib descriptor
> 
> 
> 
>>Hi Thomas,
>>
>>Yes, just place the TLD in the META-INF entry of the JAR. The URI you
>>specify in the TLD will automatically map to the location of the TLD
>>
> within
> 
>>the JAR. Then you can reference the tag library by using taglib directive
>>within a JSP:
>><%@ taglib  uri="your_uri" prefix="your_prefix" %>
>>
>>Also, your container must be JSP 1.2 compliant.
>>
> 
> Not true. JSP 1.1 supports packaging tag libraries, including putting the
> tld file in the jar. The limitation is that you can't put more than one
> taglib into a single jar file because the name of the tld file must be
> "taglib.tld".
> 
> --
> Martin Cooper
> 
> 
> 
>>Dan
>>
>>
>>
>>At 11:01 AM 2/13/2002 +0100, Thomas Colin de Verdiere wrote:
>>
>>>Hi,
>>>Is it possible to put the tld in the jar of the tag library?
>>>
>>>Thomas
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> 
>>>For additional commands, e-mail:
>>>
> <mailto:taglibs-user-help@jakarta.apache.org>
> 
>>
>>--
>>To unsubscribe, e-mail:
>>
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> 
>>For additional commands, e-mail:
>>
> <mailto:taglibs-user-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>
> 
> 



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic