How to know a thread is running or not from another class?
0 posts in topic
Flat View  Flat View

Posted By:   Sri_Mam
Posted On:   Monday, July 27, 2009 01:36 PM

Joined: Jun 28, 2007


I am creating a thread, when my webapp is started. I want to periodically check, whether this thread is running or not. If not, I want to create a new thread.

To create a new thread, I have used a servlet class constructor. When webapp is deployed, this code is starting the thread. But, on the webapp access, I want to check whether this thread is running or not.

Please help me out. Thanks in advance!


About | Sitemap | Contact