cancel
Showing results for 
Search instead for 
Did you mean: 

How can i know the servlet is running or not?

Former Member
0 Kudos

Hi all,

I have a doubt regarding servlet. I created one servlet and deployed in server. Now i called (RUN) the servlet from the browser. And it is running. Now can i know that the servlet is running or not in the server without seeing in the browser. Can we know the status of the servlet with its URL in the server whether it is running or not?

Let me explain my problem. In my servlet it will run continously read one table and do some operation depending on the entries in that table. Now i called the servlet from the browser. After some time i closed the browser. If browser is there i can know whether servlet is running or not. But now how can i know that servlet is running or not. Becoz eventhough we closed the browser the servlet will run in the background. How can i achieve this?

Thanks and Regards,

VJR.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!

With first call, the servlet will be loaded, and it remains so until server-shutdown, but you need a timer-mechanism execute method calls continuously.

Regards,

Thomas

Answers (0)