- This topic has 5 replies, 2 voices, and was last updated 19 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
jccartwrightMemberHello All,
The JSP editor complains when using an import statement like:
<%@ taglib prefix=”log” uri=”http://jakarta.apache.org/taglibs/log-1.0″%>
The taglibs-log.jar is in the WEB-INF/lib directory and I’ve confirmed that the URI is correct according to the WEB-INF/taglib.tld in the jar. The taglibs-log.jar appears in the Package Explorer. If I add the TLD separately to the project and use a relative URI it does not complain. Nor does the editor complain about the JSTL taglibs added by MyEclipse.
Can someone clarify for me what the problem is? I’d prefer not to have to include separate TLDs if possible.
Thanks!
— john
Riyad KallaMemberJohn,
Do you have any <Taglib> entries in your web.xml file that are overriding the default TLD value?You can remove the TLD from your /WEB-INF diretory if you unzipped it there.
If you open up the log JAR and go into the META-INF directory and open the TLD file, and look about the 5th line down for <uri></uri> tags, what is the full string between those two tags?
jccartwrightMemberthanks for your reply.
No, there are no <Taglib> entries in the web.xml (thisis tomcat 5.5.9).
Here’s the entry from the TLD in log-1.0.jar:
<uri>http://jakarta.apache.org/taglibs/log-1.0</uri>seems to match the absolute URI I was trying to use.
Thanks again for your help!
–john
Riyad KallaMemberJohn do you have a link handy for the version of log you are using? I’ll pull it down and see if I can breka things over here…
jccartwrightMemberThanks!
http://jakarta.apache.org/taglibs/doc/log-doc/intro.html
JAR available from any jakarta mirror (e.g. http://www.reverse.net/pub/apache/jakarta/taglibs/log/binaries/jakarta-taglibs-log-1.0.tar.gz)
— john
Riyad KallaMemberHmm, it seems all is right with the world:
What is your Eclipse Build ID (Help > About) and MyEclipse Version ( Window > Preferences )?
-
AuthorPosts