Discussion Locked

timer in java servlets

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am attempting to run a timer in a java servlet. The scheduled task the timer will run will send output from one servlet to another servlet at certain intervals.

5 replies

by chennaitechie

Hi,

your question is not clear about what help you require. please put up an more explanatory question so that you can be helped out of the problem.

Bye

by gundu_vasu

Actually in java.util package there is Timer class. This can used for this purpose. There are over loaded schedule methods which can be invoked to achieve the required operation.

This discussion is closed to new replies.