Hans,

You're right, I was thinking about the JAR files, and not about the
TLDs. But even if we have to deploy the TLDs in every web app it's going
to be a big win to use one set of JARs instead of one per context.
Seeing the the JSTL's Jars are quite large, and we have a large number of
contexts, it would be a big win.

By the way got your books and read the chapter about packaging JSPs into
a JAR file. Very helpful.

Dror



On Fri, Oct 25, 2002 at 01:09:48PM -0700, Hans Bergsten wrote:
> Shawn Bayern wrote:
> >On Fri, 25 Oct 2002, Dror Matalon wrote:
> >
> >
> >>We're using Tomcat 4.x We're planning on deploying the JSTL in
> >>multiple contexts. Do we need to put the jar files in each context or
> >>is it safe to put them in Tomcat's lib directory?
> >
> >
> >The question really applies to an *implementation* of JSTL, not to the
> >standard itself.
> >
> >Either way, it's a great question.  The Standard Taglib, which is Apache's
> >implementation and the basis for Sun's, should be "context-safe" as you
> >describe it; at least, I know of nothing in the implementation that would
> >break when used in multiple contexts.  However, since it has never been
> >formally tested in this regard, I can't guarantee it'll work that way.
> >Feel free to file bug reports if you notice any anomalies under such a
> >configuration; we'll take them under advisement.
>
> I think it's also, or even more so, a question about what the container
> supports. I'm pretty sure Tomcat 4 doesn't scan JAR files in the common
> directories for TLDs, for instance. If I'm right, you must have the TLDs
> under WEB-INF in all apps anyway.
>
> Hans
> --
> Hans Bergsten           [EMAIL PROTECTED]
> Gefion Software         http://www.gefionsoftware.com
> JavaServer Pages        http://TheJSPBook.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to