Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

install JSTL in Tomcat

 
Jack Lam
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i would like to install JSTL in Tomcat.
i have download the JSTL file "jakarta-taglibs-src-20041214.zip" form
jakarta homepage and extract into c:\java\ folder.
but i found that my test.jsp page do not support JSTL tag

do i need to copy file in "jakarta-taglibs" folder to tomcat's
Tomcat 5.5\webapps\ROOT\WEB-INF\lib\ folder ?

thk a lot~

Jack
 
Gabriel Forro
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The JSTL lib (2 jar files, i.e. jstl.jar and standard.jar) is included in the Tomcat distribution.
You can find it in
${CATALINA_HOME}/webapps/jsp-examples/WEB-INF/lib
directory.
If You want to use JSTL in Your web application, there are 2 ways:
1. copy the above mentioned 2 jar files to the ${CATALINA_HOME}/shared/lib directory, and every web application deployed can use them.
2. copy the above mentioned 2 jar files to the WEB-INF/lib directory of Your web application. In this case the JSTL lib is "private" for the web application.
 
Jack Lam
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah .... you are right...
it work now ~
thanks~
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic