Download standard.jar (taglib) from Maven
The standard.jar (taglib) library is used to enable the JSTL expression language in JSP page, and it’s always used together with the jstl.jar together.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
....
</html>
To download both standard.jar and jstl.jar from Maven, just put the following Maven coordinate in the pom.xml file.
<!-- standard.jar -->
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
<!-- JSTL -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
</dependency>
Both libraries are available in the Maven central repository, but some claimed that they can not find it ?
Hey! This post could not be written any better!
Reading this post reminds me of my previous room mate!
He always kept talking about this. I will forward this page to him.
Pretty sure he will have a good read. Thank you for sharing!
Do you mind if I quote a few of your articles as long as I provide credit and
sources back to your website? My website is in the very same niche as yours and
my users would truly benefit from a lot of the information you present here.
Please let me know if this okay with you. Appreciate
it!
Folks,
Actually the link you gave is for using the Servlet 2.5 (JSTL 1.2) versions:
For using Servlet 2.3 (JSTL 1.1.2) version you need this taglib:
Notice that for JSTL 1.2 it adds the directory /jsp to the Taglib path.
Hi Tom,
Mkyomg is correct. Pls check the link. http://stackoverflow.com/tags/jstl/info
JSTl 1.1: composed of same JAR files as 1.0. Taglib URI includes /jsp in the path like http://java.sun.com/jsp/jstl/core. Came along with and requires at minimum Servlet 2.4 / JSP 2.0.