Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is JSTL .tld file?

Tags:

java

jsp

jstl

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?

like image 238
Dónal Avatar asked Aug 01 '11 14:08

Dónal


People also ask

What is .TLD file?

A tag library descriptor is an XML document that contains information about a library as a whole and about each tag contained in the library. TLDs are used by a web container to validate the tags and by JSP page development tools. Tag library descriptor file names must have the extension .

Can not find the tag library descriptor for tags?

To solve this you must remove the wrong JAR file, download jstl-1.2. jar and drop it in its entirety in /WEB-INF/lib. That's all. You do not need to extract it nor to fiddle in the project's Build Path.

Where do I put JSTL jar files in eclipse?

Copy jstl. jar and standard. jar files to the lib folder of the project directory and add all jar files to the build path of the project.


1 Answers

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>
like image 130
Jörn Horstmann Avatar answered Nov 06 '22 18:11

Jörn Horstmann