Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet clock

 
Peter Guillebaud
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!