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