tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e <li...@medusadigital.com>
Subject problems with install
Date Fri, 22 Aug 2003 18:10:00 GMT

I've downloaded the standard taglibs from 
http://www.apache.org/dist/jakarta/taglibs/standard/
I am having issues with getting them to work.

I am using the following in my jsps:

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

If I don't declare the taglibs in my web.xml file, I get:

Fatal error: http://java.sun.com/jstl/core: Failed to find taglib for an 
absolue URI 'http://java.sun.com/jstl/core'.
Fatal error: /WEB-INF/tiles/content/menu.jsp (5): TagLib 
declaration  prefix='c', uri='http://java.sun.com/jstl/core' failed, 
reason: Failed to find taglib for URI.

If I do declare them as follows, I get errors...

	<taglib>
		<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
		<taglib-location>/WEB-INF/c.tld</taglib-location>
	</taglib>


	Warning: http://java.sun.com/jstl/core: Unknown element 'tlib-version' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'jsp-version' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'short-name' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'display-name' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'description' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'validator' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'tag-class' 
encountered while parsing the TLD.
	Warning: http://java.sun.com/jstl/core: Unknown element 'body-content' 
encountered while parsing the TLD.


Anybody have any ideas what I'm doing wrong?
I have J2EE 1.2.

Thanks.

-e







Mime
View raw message