views:

936

answers:

2

I am not seeing the .tld file in my download folder. I only see JAR files. What I am missing?

My problem is that, I can't refer like this in my JSP:

<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>

I get some error. Hence want to download .tld and put it under local WEB-INF folder and then change my JSP like this:

<%@ taglib uri="/WEB-INF/displaytag.tld" prefix="display" %>
A: 

where is the descriptor file displaytag.tld ????? I have the same problem

orove
Please do not post "me too" comments as if they were answers.
skaffman
Just ask questions by pressing `Ask Question` button at the right top.
BalusC
A: 

You don't need the loose TLD. It's already inside the JAR file. Just put the downloaded JAR file in /WEB-INF/lib. That's all. No, not in /WEB-INF, this is not covered by the default classpath.

You only need to ensure that the taglib URI is correct. Else it will indeed complain about that. The correct one is usually to be found in the documentation of the library in question.

BalusC