简体   繁体   English

我在哪里可以下载 JSTL 标签库? 即jstl.jar 和standard.jar

[英]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.jarstandard.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.jarstandard.jar ,以便我可以继续学习本教程?

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

See also:另见:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM