tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Help with registering a listener
Date Thu, 05 Jun 2003 15:46:37 GMT

Listeners are a servlet specification 2.3 feature, so you wouldn't find
them in the DTD version 2.2.

Your XML <listener> 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 place to put it
is the WEB-INF/lib (if it's in a jar) or WEB-INF/classes (if it's not in
a jar) of your webapp.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Vijay Kandy []
>Sent: Thursday, June 05, 2003 11:32 AM
>To: 'Tomcat Users List'
>Subject: Help with registering a listener
>Could some one please tell me how to register a listener with Tomcat 4?
>When I add:
>	<listener-class>TnTSearchCleanUp</listener-class>
>within web-app element, tomcat throws 404 errors. Also, I did not find
>listener element defined in
>Thank you,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message