tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rashmi Rubdi" <rashmi....@gmail.com>
Subject Re: recognise tomcat finished starting up
Date Mon, 16 Apr 2007 16:19:02 GMT
On 4/16/07, dhay@lexmark.com <dhay@lexmark.com> wrote:
>
> So I'm looking for a way to detect if tomcat's startup has finished...
>

You didn't mention the version of Tomcat you're using.

According to the Servlet 2.4 spec :
The servlet context has javax.servlet.ServletContextListener just been
created and is available to service its first request.

You could implement ServletContextListener on any class, then register
the listener in your project's web.xml

> cheers,
>
> David

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message