Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I download JSTL taglibs? i.e. jstl.jar and standard.jar

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?

like image 565
ktm5124 Avatar asked Feb 10 '11 15:02

ktm5124


People also ask

Does Tomcat come with JSTL?

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.

Where do I put JSTL jar files in eclipse?

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.


2 Answers

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/

like image 72
KevinS Avatar answered Oct 29 '22 14:10

KevinS


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.

See also:

  • Our JSTL tag wiki page (available when you hover the jstl and click info).
like image 36
BalusC Avatar answered Oct 29 '22 14:10

BalusC