Try to use "/taglib" instead of "taglib" in both
your JSP pages and and web.xml. Also make sure the "taglib.tld"
file is actually under the directory "WEB-INF" of your web application

Hui Lin

-----Original Message-----
From: Mark Scott [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 12:17 PM
To: [EMAIL PROTECTED]
Subject: Taglib URI error in Weblogic60


Hi All,
having some trouble deploying my custom Tag, this is the error...
thanks in advance
Parsing of JSP File '/test/tagpage.jsp' failed:
/test/tagpage.jsp(1): Could not parse deployment descriptor:
java.io.IOException: cannot resolve 'taglib' into a valid tag library
probably occurred due to an error in /test/tagpage.jsp line 1:
<%@ taglib uri="taglib" prefix="input" %>
 ------------------------------
my directories look like this

myserver
        test
            - tagpage.jsp

WEB-INF
-web.xml
-taglib.tld
-------------------------------
my code:

in jsp

        -<%@ taglib uri="taglib" prefix="input" %>

in web.xml

        -<?xml version="1.0" ?>
        <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
        <taglib>
                <taglib-uri>taglib</taglib-uri>
                <taglib-location>/WEB-INF/taglib.tld</taglib-location>
        </taglib>
</web-app>

Reply via email to