[lug] Java Applet
George Sexton
gsexton at mhsoftware.com
Thu Mar 8 11:49:00 MST 2001
Why not write a servlet on the server to return the current time? Have the
applet connect to the server and get the time.
If you try to embed the time into your HTML page, you have a couple of
things that might cause problems:
caching of page by proxy server.
Malicious alteration of the value to secure some advantage.
-----Original Message-----
From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]On
Behalf Of Kyle Moore
Sent: 08 March, 2001 11:22 AM
To: lug at lug.boulder.co.us
Subject: [lug] Java Applet
If I wanted a java applet to do a calculation based on the current
time...can you think of a way to pull the server time other than ntp? I
think I could write something that pulls the server time via ntp, does
the calc and then displays the result but there may be firewall issues
with that. I can't use the system time on the workstation because that
may be unreliable. I need accuracy to at least the second.
Any suggestions?
-Kyle Moore
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list