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







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to