tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: <taglib> and <web-app version="2.4">
Date Wed, 16 Nov 2005 16:32:43 GMT
On 11/16/05, Marten Lehmann <lehmann@cnm.de> wrote:
> Hello,
>
> I was used define some taglibs manually in web.xml when using
> http://java.sun.com/dtd/web-app_2_3.dtd as deployment descriptor. Now I
> tried to upgrade but <taglib> isn't available any longer
> (http://java.sun.com/xml/ns/j2ee and
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd). How can I define
> taglibs anyway? For example:
<snip/>

The container will be pick up the TLDs from the META-INF/ directory of
any jars in the application classpath (ideally, WEB-INF/lib). So, for
example, configuration of 2.4 webapps to use a taglib looks like this:

http://jakarta.apache.org/taglibs/doc/rdc-doc/index.html#config

-Rahul


>
>     <taglib>
>         <taglib-uri>http://test.com/example</taglib-uri>
>         <taglib-location>/WEB-INF/tlds/example.tld</taglib-location>
>     </taglib>
>
> Regards
> Marten
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message