Hello,
I'm experiencing a problem when compiling my jsp usin forte. My Jsp file references the following tag library as shown below:
<%@taglib prefix="artist" uri="WEB-INF/artistTags.tld" %>
I get the following error message when i compile the jsp file:
web/JSP/music_home.jsp [2:0] Unable to open taglibrary WEB-INF/artistTags.tld : Could not locate TLD META-INF/taglib.tld
Any suggestions on how to resolve this problem will be most appreciated.
Kind Regards,
Rudi
Discussions
Web tier: servlets, JSP, Web frameworks: Newbie - Error when compiling JSP that uses a Tag Library
-
Newbie - Error when compiling JSP that uses a Tag Library (2 messages)
- Posted by: Rudi Doku
- Posted on: December 08 2001 06:25 EST
Threaded Messages (2)
- Newbie - Error when compiling JSP that uses a Tag Library by joseph yi on December 09 2001 17:17 EST
- Newbie - Error when compiling JSP that uses a Tag Library by Rudi Doku on December 10 2001 21:07 EST
-
Newbie - Error when compiling JSP that uses a Tag Library[ Go to top ]
- Posted by: joseph yi
- Posted on: December 09 2001 17:17 EST
- in response to Rudi Doku
I believe you may have forgotten a slash preceding WEB-INF
instead of:
<%@taglib prefix="artist" uri="WEB-INF/artistTags.tld" %>
you may have meant:
<%@taglib prefix="artist" uri="/WEB-INF/artistTags.tld" %>
It's reporting the META-INF/taglib.tld error because you can store tlds in the jar file in the META-INF. Since your URI was malformed, it must have assumed that the tld was in a jar file.
Hope this helps -
Newbie - Error when compiling JSP that uses a Tag Library[ Go to top ]
- Posted by: Rudi Doku
- Posted on: December 10 2001 21:07 EST
- in response to joseph yi
Joseph Thanks, I solved the problem a few minutes after i posted it on this site.
Thanks again.
Rudi