tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <>
Subject No such tag error
Date Thu, 30 May 2002 21:42:34 GMT
This message is related to "STATUS 500 - Unable to compile class for
JSPNote" a little bit.

I get the error...

org.apache.jasper.JasperException: No such tag listmessages in the tag
library imported with prefix javamail

Now, here's the details I believe you need.

Jtl.jar is in the WEB-INF/lib directory

I do this in my JSP 

<%@ taglib uri="lib/jtl.jar" prefix="javamail" %>

Then, of course I try and use the "listmessages" tag later in the JSP

Below is a chopped down version of taglib.tld.
------------------BEGIN taglib.tld------------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
        A listmessages tag
-------------------END taglib.tld-------------------
Any thing wrong with it?  Looks good to me according to the JSP 1.2

Now, the jtl.jar file in WEB-INF/lib/jtl.jar does have all the classes
in it along with the taglib.tld

I also tried adding...
but from what I understand, it's not required because I've got
everything where it's supposed to be in the jtl.jar

Is there something wrong with this stuff???

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message