Howdy,
>My web.xml starts with
>
>
>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
>
>Do I need to change anything there?
Change it to a 2.3 DTD. You can copy and paste from
$CATALINA_HOME/conf/web.xml.
Yoav Shapira
05, 2003 10:47 AM
To: Tomcat Users List
Subject: RE: Help with registering a listener
Howdy,
Listeners are a servlet specification 2.3 feature, so you wouldn't find
them in the DTD version 2.2.
Your XML element is correct and sufficient to register a
listener in a servlet spec
Howdy,
Listeners are a servlet specification 2.3 feature, so you wouldn't find
them in the DTD version 2.2.
Your XML element is correct and sufficient to register a
listener in a servlet specification 2.3 container, like tomcat 4.x. The
listener class must be available to tomcat: the proper pla