Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Francisco A Guimaraes
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Francisco
[ April 22, 2003: Message edited by: Francisco A Guimaraes ]
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic