Forums Register Login

install JSTL in Tomcat

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
yeah .... you are right...
it work now ~
thanks~
Happily living in the valley of the dried frogs with a few tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 5102 times.
Similar Threads
JSTL or Taglibs/struts / custom taglib
problem with jstl
Setting up JSTL with Tomcat 5
Difference between [c:forEach] and [logic:iterate]
problem with jstl
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:22:14.