18

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?

Stefan van den Akker
  • 6,661
  • 7
  • 48
  • 63
ktm5124
  • 11,861
  • 21
  • 74
  • 119

2 Answers2

27

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/

KevinS
  • 7,715
  • 4
  • 38
  • 56
20

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:

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
  • is apache jslt an extended version of sun jslt? – netic Nov 28 '12 at 23:02
  • @manetic: no, it's just another implementation of JSTL, like as that Apache Tomcat is an implementation of JSP/Servlet and that Oracle (Sun) Glassfish is another one. – BalusC Nov 28 '12 at 23:30
  • don't they do the same work? do you know which is standard, or most preferred? – netic Nov 29 '12 at 23:09
  • @netic: JSTL *is* a standard API, so there's no such thing as "which one is standard". Both are. As for "preferred", it all comes down to the *implementation* of the API, and which runs "better" (faster, less memory, etc) in your particular server. Also note that the latest Apache/Jakarta JSTL is v1.1.2, while Sun/Oracle/Maven has 1.2 and latter – MestreLion Nov 29 '13 at 05:59