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 standa开发者_开发知识库rd.jar
, so that I can get on with this tutorial?
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/
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).
精彩评论