I want the tld file to be packaged in the jar file along with the custom
class so that it is a reusable component, so I don't want to put it in
WEB-INF.

----- Original Message -----
From: "Adam Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 11, 2004 5:57 PM
Subject: Re: Jarring custom taglibs: looking for a file named taglib.tld


> You could just put the tld in WEB-INF and reference it from the web.xml.
>
> This is the entry in my web.xml for the taglib I use all the time:
>
> <taglib>
>         <taglib-uri>
>     http://localhost/myapp/asl
>         </taglib-uri>
>         <taglib-location>
>            /WEB-INF/asl.tld
>         </taglib-location>
> </taglib>
>
> asl.tld is physically present in WEB-INF.
>
> Don't know if this helps, since it is not exactly what you are trying to
do.
>
> Adam
> ----- Original Message -----
> From: "Keith Hankin" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, June 11, 2004 5:02 AM
> Subject: Jarring custom taglibs: looking for a file named taglib.tld
>
>
> <snip>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to