I am following the Spring-MVC tutorial and currently I am on part 2. The tutorial requires me to download jstl.jar
and standard.jar
, which were once part of the Jakarta Taglibs project. The project has since moved to Apache, but when I go to Apache's site. to download the taglibs, I get 403 Forbidden
.
So my question is, where can I download jstl.jar
and standard.jar
, so that I can get on with this tutorial?
You can dive into our beloved stackoverflow.com to find out that Tomcat doesn't include JSTL,not even in Tomcat 8, in spite that they have an implementation of the JSP Standard Tag Library (JSTL) specification, versions 1.0, 1.1 and 1.2.
Copy jstl. jar and standard. jar files to the lib folder of the project directory and add all jar files to the build path of the project.
You can find them both in the Maven central repo:
http://repo2.maven.org/maven2/javax/servlet/jstl/
http://repo2.maven.org/maven2/taglibs/standard/
Since JSTL 1.1 is out of life, Apache has put it in the archive. Pick the jakarta-taglibs-standard-current.zip
file.
However, if you're running a Servlet 2.5 compatible container and the web.xml
is declared as at least Servlet 2.5, then you should be able to use the new JSTL 1.2 instead. Note that JSTL 1.2 does not require a standard.jar
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With