java JSTL .tld 文件在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6900001/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 17:50:21  来源:igfitidea点击:

where is JSTL .tld file?

javajspjstl

提问by Dónal

I've downloaded the jstl-1.1.2.jarfrom a Maven repository. I expected the .jar to contain the .tld file for the tags, but it doesn't. Does anyone know where I can find it?

我已经从 Maven 存储库下载了jstl-1.1.2.jar。我希望 .jar 包含标签的 .tld 文件,但它没有。有谁知道我在哪里可以找到它?

回答by BalusC

JSTL 1.1 consists usually of two files: jstl.jar(the API) and standard.jar(the impl). The TLDs are in the standard.jar.

JSTL 1.1 通常由两个文件组成:jstl.jar(API)和standard.jar(impl)。TLD 位于standard.jar.

In our JSTL wiki pageyou can find the right download link for the both JARs.

我们的 JSTL wiki 页面中,您可以找到这两个 JAR 的正确下载链接。

回答by J?rn Horstmann

BalusC was faster with the correct answer, I just want to add that the standard.jaris also available in maven central. Here are the coordinates:

BalusC 的正确答案更快,我只想补充一点,maven central 中也提供了standard.jar。以下是坐标:

<dependency>
    <groupId>taglibs</groupId>
    <artifactId>standard</artifactId>
    <version>1.1.2</version>
</dependency>