jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Weber <webe...@yahoo.com>
Subject Help for using tag libs
Date Mon, 31 Jul 2000 15:25:44 GMT
Hello,

I'm having difficulties configuring tag libraries.

I assume:

taglib-uri is any string, could be random letters, it
is used in .jsp for taglib url=

taglib-location is the location below the webapp file


I have:

Context log: path="/fire" Adding context path="/fire" 
docBase="webapps/fire"


C:\Apache\tomcat\webapps\fire\template.jsp:

<%@ taglib uri="firelib" prefix="foo" %>

C:\Apache\tomcat\webapps\fire\WEB-INF\tlds\taglib.tld

C:\Apache\tomcat\webapps\fire\WEB-INF\web.xml :

 <taglib>
        <taglib-uri>
	   firelib
        </taglib-uri>
        <taglib-location>
		/WEB-INF/tlds/taglib.tld        
	</taglib-location>
    </taglib>

But tomcat 3.1 says:


Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open
taglibrary firelib : Parse Error in the tag library
descriptor: com.sun.xml.parser/V-005 web-app
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
Compiled Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
        at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java,
Compiled Code)
    



Thanks for your hints,
Juergen



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

Mime
View raw message