aspose file tools*
The moose likes Servlets and the fly likes servlet clock Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet clock" Watch "servlet clock" New topic
Author

servlet clock

Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
I'm using an applet to display the time in a web page, but it gets the time from the local machine. Would it be possible to somehow get a servlet to do the same thing using the web servers' clock? I suppose it would use a thread to update every second but then how to print this to the screen? Or is there another way?
TIA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet clock
 
Similar Threads
Digital Clock
Bea weblogic 10.3g setting up clock skew
OS Clock
Servlet Running in Infinite loop
WA #1.....word association