tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Listeners
Date Wed, 13 Oct 2004 13:04:53 GMT


>I have the listener declared in web.xml before the servlet declaration
>looks like
>  <listener>
>    <listener-class></listener-class>
>  </listener>
>  <servlet>
> is in the WEB-INF/classes directory.

Your web.xml looks fine.  Your listener doesn't actually have to
implement any of the Servlet Spec's listener interfaces (but of course
then it's a fairly useless class ;)).  However, I want to make sure your
listener class can be found. The FooListener.class file should be in
WEB-INF/classes/com/mbresearch/foo directory, and have "package;" as its top line.  It should also be readable to the
server user.


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