It must be a problem with your tld file... check to see if it is valid.

----- Original Message -----
From: "Constanza VILLALOBOS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 8:59 AM
Subject: Parse Error in the tag library descriptor


> Hello all,
> I'm working with a custom tag library for the JSP with Tomcat and I have
the
> next error :
>
> org.apache.jasper.JasperException: Unable to open taglibrary
> /jsp/foo.tld : Parse Error in the tag library descriptor:
> com.sun.xml.parser/V-005 web-app
>
> 1. The file web.xml is in the WEB-INF directory's application like :
> d:\myappli\WEB-INF\tld\foo.tld
>
> 2. I change my web.xml for taglib configuration like this :
>
> <web-app>
>         <display-name/>
>         <description/>
>         <taglib>
>         <taglib-uri>
>            /jsp/foo.tld
>       </taglib-uri>
>         <taglib-location>
>            /WEB-INF/tld/foo.tld
>       </taglib-location>
>         </taglib>
> </web-app>
>
> 3. My JSP page (test.jsp) is like :
>
> <html>
> <body>
> <%@ taglib uri="/jsp/foo.tld" prefix="eg" %>
>
> Radio stations that rock:
>
> <ul>
> <eg:foo att1="98.5" att2="92.3" att3="107.7">
> <li><%= member %></li>
> </eg:foo>
> </ul>
>
> </body>
> </html>
>
> 4. The URL for my page is :
> http://localhost:8080/myappli/jsp/test.jsp
>
> I don't know where is my problem. I think is a Tomcat's configuration
> problem, but I don't know where.
> Could you help me please?
>
> Thank you
> Constanza
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to