Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

?? Sharing JSTL JARs in Tomcat ??

843836Jan 22 2005 — edited Feb 3 2005
Hi All,

This question is specific to Tomcat.

I'm using TC 5.0.30.

JSTL Is working fine -- I have the standard.jar and jstl.jar files in my
"WEB-INF/lib" directory.

The problem is that I have several web applications that use JSTL and
therefore several "WEB-INF/lib" directories. Rather than copy the two JSTL
JAR files to every "WEB-INF/lib" directory I'd rather put them in one
central location and have them available for all web applications. Normally,
to do this, the JARS should be placed in "$CATALINA_HOME/shared/lib".
Unfortunately, that doesn't seem to work with these two JARs for some
reason.

So, my first question is why can't I just put these two JARs in
"$CATALINA_HOME/shared/lib" and have them shared across all web
applications?

Second, is there a place I can put these two JARs so they ARE shared
across all web apps?

TIA.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2005
Added on Jan 22 2005
17 comments
356 views