I've been having similar trouble understanding the rules (though the JRun docs were
somewhat helpful.) Even if this DID work without extracting the .tld, wouldn't
your uri be "WEB-INF/lib/taglib.jar"?? I thought the reference was supposed to be
relative to the calling JSP file, which is above "WEB-INF"
martin
"Holmes III, William S" wrote:
> Hi,
>
> Can someone point me to a working tag library example?
>
> I keep getting the following exception in Tomcat:
>
> org.apache.jasper.JasperException: Unable to open taglibrary taglib.jar : no
> protocol: taglib.jar
> at
> org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
> ntListener.java:672)
> at
> org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
> ener.java:116)
> :
>
> The jar file (WEB-INF/lib/taglib.jar) contains:
> taglib/customtag.class
> META-INF/taglib.tld
>
> The jsp file has the following:
> <%@ taglib uri="taglib.jar" prefix="simple" %>
> :
> :
> <simple:hello/>
> :
> :
>
> Thanks,
> Bill H.
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets