tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Dockery" <s...@sbdconsultants.com>
Subject Re: Taglibs are not interpreted with Tomcat 4.1.18
Date Wed, 12 Feb 2003 18:53:40 GMT
What about your tag-class definition?

What version J2SDK are you running?

----- Original Message ----- 
From: "Thorsten Giesecke" <thorsten.giesecke@sourcepark.de>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, February 12, 2003 06:24
Subject: Taglibs are not interpreted with Tomcat 4.1.18


> 
> After changing from Tomcat 3.2.3 to Tomcat 4.1.18 taglib's are no more
> interpreted. The TLD's are located in /WEB-INF folder and the
> corresponding classes are in their packages underneath /WEB-INF/classes.
> 
> Both taglib's are defined in the descriptor file web.xml:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
> <web-app>
> ...
>   <taglib>
>     <taglib-uri>/WEB-INF/katolib.tld</taglib-uri>
>     <taglib-location>/WEB-INF/katolib.tld</taglib-location>
>   </taglib>
> 
>   <taglib>
>     <taglib-uri>/WEB-INF/katolib_.tld</taglib-uri>
>     <taglib-location>/WEB-INF/katolib_.tld</taglib-location>
>   </taglib>
> 
> </web-app>
> 
> Both taglib tld's starting with the following header:
> 
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
> 1.1//EN"
> "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> 
> 
> <taglib>
>    <tlibversion>1.0</tlibversion>
>    <jspversion>1.1</jspversion>
>    <shortname>kato</shortname>
>    <uri>/WEB-INF/katolib.tld</uri>
> 
>    <tag>
>    ...
>    </tag>
>    ...
> </taglib>
> 
> shortname and uri are matching their corresponding values.
> a /META-INF directory does not exist, because the web-application
> is unpacked (no jar file).
> 
> is there a change between tomcat 3.x and 4.x in the definition
> of taglibs / tld'S or the loading of taglibs.
> 
> sincerly thorsten
> 
> ps the jsp servlet is only included in the web.xml file which is
> located in /CATALINA_HOME/conf.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message