You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/12/10 15:44:42 UTC

[OT] using tld inside jar

Hi all,

I would like to use the jakarta String-1.0.1 taglib in my app, but tld is packaged inside jar.

I use tomcat 4.1.27, that is servlet 2.3 compliant so taht should be able to use this taglib "as is", but I don't know
what to set in web.xml as <taglib> element (especially for <taglib-location>)

Could you help me please ?

Nico.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: [OT] using tld inside jar

Posted by Nicolas De Loof <ni...@cgey.com>.
So simple I didn't thik about it !

Thanks.


----- Original Message ----- 
From: "Kris Schneider" <kr...@dotech.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, December 10, 2003 4:06 PM
Subject: Re: [OT] using tld inside jar


> Don't put anything in web.xml. Just do this in your JSP:
> 
> <%@ taglib prefix="string"
>            uri="http://jakarta.apache.org/taglibs/string-1.0.1" %>
> 
> Quoting Nicolas De Loof <ni...@cgey.com>:
> 
> > Hi all,
> > 
> > I would like to use the jakarta String-1.0.1 taglib in my app, but tld is
> > packaged inside jar.
> > 
> > I use tomcat 4.1.27, that is servlet 2.3 compliant so taht should be able to
> > use this taglib "as is", but I don't know
> > what to set in web.xml as <taglib> element (especially for
> > <taglib-location>)
> > 
> > Could you help me please ?
> > 
> > Nico.
> 
> -- 
> Kris Schneider <ma...@dotech.com>
> D.O.Tech       <http://www.dotech.com/>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: [OT] using tld inside jar

Posted by Kris Schneider <kr...@dotech.com>.
Don't put anything in web.xml. Just do this in your JSP:

<%@ taglib prefix="string"
           uri="http://jakarta.apache.org/taglibs/string-1.0.1" %>

Quoting Nicolas De Loof <ni...@cgey.com>:

> Hi all,
> 
> I would like to use the jakarta String-1.0.1 taglib in my app, but tld is
> packaged inside jar.
> 
> I use tomcat 4.1.27, that is servlet 2.3 compliant so taht should be able to
> use this taglib "as is", but I don't know
> what to set in web.xml as <taglib> element (especially for
> <taglib-location>)
> 
> Could you help me please ?
> 
> Nico.

-- 
Kris Schneider <ma...@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org