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 ?

4 comments on “Download standard.jar (taglib) from Maven

  1. 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!

    Reply
  2. 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!

    Reply
  3. Folks,
    Actually the link you gave is for using the Servlet 2.5 (JSTL 1.2) versions:

       <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    

    For using Servlet 2.3 (JSTL 1.1.2) version you need this taglib:

       <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    

    Notice that for JSTL 1.2 it adds the directory /jsp to the Taglib path.

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *