No.
I understand the original question was about making the taglibs
available to all the web apps, not just one, right?
If you put the jar under a WEB-INF/lib then it will be available only
to the web app to which that WEB-INF belong.
As far as I can tell, to share the jar with all the applications you should
put it under $TOMCAT_HOME/lib.
The tld file itself seems to have to be somewere under the application's
directory (the parent of WEB-INF) since the <taglib-location> in the
web.xml interprets it in relation to that root of the web app.
See the JSP 1.1 spec sections 5.2.2 and 5.3.1 (and around).
Cheers,
--Amos
-----Original Message-----
From: Peter Choe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 5:04 PM
To: [EMAIL PROTECTED]
Subject: Re: where to put tag libraries
so, something like:
$TOMCAT_HOME/WEB-INF/lib
or
$TOMCAT_HOME/webapps/foobar/WEB_INF/lib
if i just put the class files in the $TOMCAT_HOME/lib, i just need to
alter the web.xml and put the taglibs in the
$TOMCAT_HOME/webapps/foobar/WEB-INF?
each webapps needs to have the taglib.tld in its WEB-INF directory?
peter choe
Dmitri Colebatch wrote:
>
> Amos Shapira wrote:
> > The class files themself are just like any other library - under
> > Tomcat's lib or anywere in the standard JAva classpath.
> a more appropriate place might be considered to be WEB-INF/lib - that
> way they will not affect anything outside the context they are deployed
> for.
>
> cheers
> dim
>
> >
> > -----Original Message-----
> > From: Peter Choe [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 14, 2001 3:00 PM
> > To: [EMAIL PROTECTED]
> > Subject: where to put tag libraries
> >
> > where can i put a taglib jar file so that all the applications can use
> > it?
> >
> > peter choe