Hi, >I have the listener declared in web.xml before the servlet declaration and >looks like > > <listener> > <listener-class> com.mbresearch.foo.FooListener</listener-class> > </listener> > > <servlet> >... > >com.mbresearch.foo.FooListener 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 com.mbresearch.foo;" as its top line. It should also be readable to the server user. Yoav 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]