tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject Listeners
Date Wed, 13 Oct 2004 07:46:43 GMT
I have never used Listeners in Tomcat before and and having trouble getting
one registered.

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.
I get the digester error:

Digester.error : Parse Error at line 9 column 13: Element type "listener"
must be declared.  Line 9 is the <listener> line.

What am I missing?  Thanks in advance!


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message