Hi all. I am new to the list and new to JSP/Custom Tags/JSTL, although I
have worked with another App Server (Dynamo) for a few years now. Just
trying to figure out how Tomcat/JSTL/Struts etc works.

I am using Tomcat 4.1.12 and the jakarta 1.0 JSTL.

I have simple custom tag that works fine - no page errors. However, when I
try and introduce one of the JSTL custom tags (c:if), I get this error. --->
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator


I had this working at one point and then broke it somehow. Obviously, I
can't figure out how. Here is the code . . .

WEB.XML (snippet)
    <taglib>
        <taglib-uri>
            c
        </taglib-uri>
        <taglib-location>
           /WEB-INF/tld/c.tld
        </taglib-location>
    </taglib>

test JSp page
<%@ taglib prefix="test" uri="test" %>
<%@ taglib prefix="c" uri="c" %>                <-- this causes the error

<html>
    <head><title>Test Page for WI-DOC</title></head>
    <body>

        <test:testtag/>
        <br/><br/>

    </body>
</html>

--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to