tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rickard Öberg <rick...@dreambean.com>
Subject Re: Accessing Tomcat classes
Date Wed, 21 May 2003 03:51:18 GMT
Filip Hanik wrote:
> I meant the global listeners, maybe I'm wrong, but the code in
> StandardHostDeployer looks like this
> 
>             host.fireContainerEvent(PRE_INSTALL_EVENT, context);
>             host.addChild(context);
>             host.fireContainerEvent(INSTALL_EVENT, context);
> 
> so if you have a listener assigned to your host, then you will receive this,
> and this is global to the host, not a context listener as the spec suggest

Ok, I see. But, then the original question is still unanswered: how do I 
get my classes to access the Tomcat classes so that I can get the above 
"host" object. Where do I put catalina.jar? If it's in the standard 
location my servlet classes can't see it.

/Rickard


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