问题
I've downloaded the jstl-1.1.2.jar from 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?
回答1:
JSTL 1.1 consists usually of two files: jstl.jar
(the API) and standard.jar
(the impl). The TLDs are in the standard.jar
.
In our JSTL wiki page you can find the right download link for the both JARs.
回答2:
BalusC was faster with the correct answer, I just want to add that the standard.jar is also available in maven central. Here are the coordinates:
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
来源:https://stackoverflow.com/questions/6900001/where-is-jstl-tld-file