tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Paul <antonypau...@gmail.com>
Subject Re: Listeners
Date Wed, 13 Oct 2004 07:57:50 GMT
What version of Tomcat you are using ?. Also post the web.xml version.
>From the top.

rgds
Antony Paul


On Wed, 13 Oct 2004 00:46:43 -0700, Ray Madigan <ray@madigans.org> wrote:
> 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
> 
>

---------------------------------------------------------------------
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