File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jakarta tag lib jars in /share/lib isn�t working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jakarta tag lib jars in /share/lib isn�t working" Watch "jakarta tag lib jars in /share/lib isn�t working" New topic

jakarta tag lib jars in /share/lib isn�t working

Francisco A Guimaraes
Ranch Hand

Joined: Mar 20, 2002
Posts: 182
Hi I downloaded the Jakarta tag libs standard, which is an implementation of JSTL and it works fine when I put the jars in the WEB-INF/lib directory of my web app, but when I tried to move then to the <CATALINA_HOME>/share/lib, so that all my web apps could use the JSTL, the app couldn�t find the taglib saying it wasn�t defined in the web.xml or in any of the other resources of the jar. What�s happenning? I�m using Jakarta tag libs 1.0.3 and Tomcat 4.1.18 under win2k
[ April 22, 2003: Message edited by: Francisco A Guimaraes ]

Francisco<br />SCJP<br />please use the [code][/code] tags when showing code.Click <a href="" target="_blank" rel="nofollow">here</a> to see an example.
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
The spec states the libs HAVE to be in WEB-INF or a sub-directory. In addition, the name of the TLD file must be taglib.tld.
I agree. Here's the link:
subject: jakarta tag lib jars in /share/lib isn�t working
It's not a secret anymore!