[英]Where can I download JSTL taglibs? i.e. jstl.jar and standard.jar
I am following the Spring-MVC tutorial and currently I am on part 2 .我正在关注 Spring-MVC 教程,目前我在第 2 部分。 The tutorial requires me to download
jstl.jar
and standard.jar
, which were once part of the Jakarta Taglibs project.本教程要求我下载
jstl.jar
和standard.jar
,它们曾经是 Jakarta Taglibs 项目的一部分。 The project has since moved to Apache, but when I go to Apache's site .该项目已转移到 Apache,但是当我访问Apache 的站点时。 to download the taglibs, I get
403 Forbidden
.要下载标签库,我得到
403 Forbidden
。
So my question is, where can I download jstl.jar
and standard.jar
, so that I can get on with this tutorial?所以我的问题是,在哪里可以下载
jstl.jar
和standard.jar
,以便我可以继续学习本教程?
You can find them both in the Maven central repo:您可以在 Maven 中央仓库中找到它们:
http://repo2.maven.org/maven2/javax/servlet/jstl/ http://repo2.maven.org/maven2/javax/servlet/jstl/
http://repo2.maven.org/maven2/taglibs/standard/ http://repo2.maven.org/maven2/taglibs/standard/
Since JSTL 1.1 is out of life, Apache has put it in the archive .由于 JSTL 1.1 已过时,Apache 已将其放入存档. Pick the
jakarta-taglibs-standard-current.zip
file.选择
jakarta-taglibs-standard-current.zip
文件。
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.但是,如果您正在运行兼容 Servlet 2.5 的容器并且
web.xml
至少声明为 Servlet 2.5,那么您应该能够改用新的JSTL 1.2 。 Note that JSTL 1.2 does not require a standard.jar
.需要注意的是JSTL 1.2不需要
standard.jar
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.