JSP Tutorials - Herong's Tutorial Examples - Version 4.02, by Dr. Herong Yang
Installing GlassFish JSTL 1.2 on Tomcat 7
This section provides a tutorial example on how to download JSTL 1.2 JAR file developed by the Oracle GalssFish project and install it in the default application on a Tomcat 7 server.
Here is what I did to try the JSTL 1.2 implementation by the Oracle GlassFish project:
1. Go to http://jstl.java.net/ and click the "Download JSTL" icon.
2. Click the "JSTL Implementation" link. The Maven Central Repository page shows up.
3. Click "javax.servlet.jsp.jstl-1.2.1.jar" to download the JAR file.
4. To install the JSTL JAR file to the default application on my Tomcat 7 server, I need to create a "lib" directory under ".\ROOT\WEB-INF\" and copy the JAR file to there:
C:\>mkdir \local\apache-tomcat-7.0.32\webapps\ROOT\WEB-INF\lib C:\>copy javax.servlet.jsp.jstl-1.2.1.jar \local\apache-tomcat-7.0.32\webapps\ROOT\WEB-INF\lib 1 file(s) copied.
5. Restart Tomcat. I think I am ready to use JSTL 1.2 in my Tomcat default application. See next section for the first JSTL test page.
Last update: 2012.
Table of Contents