On 11/16/05, Marten Lehmann <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to