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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to