hariharan jayaprakash wrote:I have tried to get the current time object, So i wanna to execute every minute to be noticed and then it should terminate the program for one minute.
Like "Page will be expired in 60 Seconds".. 59 58..... upto 0...
Then my code should terminate, How can i achieve this?...
Quite tricky to do with 100% certainty, but
you should probably start by looking at
Thread.sleep(). The java.util.Timer class may also be of use.
Winston