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 ?
Tags :

About the Author

mkyong
Founder of Mkyong.com and HostingCompass.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

  • Pingback: bottled alkaline water()

  • Pingback: pay day loans()

  • Pingback: parking()

  • Pingback: alkaline water()

  • Pingback: car parking()

  • Pingback: fue()

  • Pingback: Direct TV()

  • Pingback: kagen water()

  • Pingback: kangen water machine()

  • Pingback: best bottled water()

  • Pingback: free movie downloads()

  • Pingback: tv online, online tv()

  • Pingback: stream movies()

  • Pingback: watch movies online free()

  • Pingback: Google()

  • Pingback: YouTube Video()

  • Pingback: Blue Coaster33()

  • http://storify.com/dianawood7014/tidy-cats-coupon-working-coupons Tidy Cats this coupon site

    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!

  • http://www.slideshare.net/tomburgesscyte/tlcstorecomcoupons-coupons-available-here Jenifer

    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!

  • Tom Hunter

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

       &lt;%@ taglib prefix=&quot;c&quot; uri=&quot;http://java.sun.com/jsp/jstl/core&quot; %&gt;

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

       &lt;%@ taglib prefix=&quot;c&quot; uri=&quot;http://java.sun.com/jstl/core&quot; %&gt;

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