users@glassfish.java.net

Re: TLDs in Jar files

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Sat, 04 Apr 2009 12:00:54 +0200

glassfish_at_javadesktop.org wrote:
> Is it possible to load a tld that is place within any jar file that is included in the classpath of the application?
> [Message sent by forum member 'obdulin' (obdulin)]
>

Yes. You have to put the tld-file in the META-INF directory of the
jar-file. And you should define an <uri> element to ease the mapping for
the taglib-directive of your JSP.

--
Wolfram Rittmeyer