|
| |
|
|
OverDrone
Posts: 1 Joined: 6/17/2003 Status: offline
|
Refresh HTML page by server event in realtime(1 sec) - 6/17/2003 1:53:51
I am about to build Web application: Specialized services in background, HTML Page in front. Specific Services <-> HTTP Server <-> HTTP Client (Browser). State of some process is visualized with HTML Page. Situation can be changed very quick. Visualization of current state with HTML Page must be with minimal delay (about 1 sec). I tried several methods: 1. Java Applet on HTML Page is establishing IP connection to home HTTP Server and when it receives refresh signal it tries to refresh page content. The only way I found to do this is to use Java Package Netscape.javascript. The problem is that Microsoft VM settings restrict use of JavaScript from Java Applet by default. And program must work without any additional browser fine tuning. 2. Use of HTTP Header: Refresh. One small frame is refreshed every second and when needed it have JavaScript that refreshes the main content. Disadvantage is that every second browser shows to user that something is being downloaded. This is very annoying. If only Browser wouldn' t show that something is happening every second.
|
|
|
|
Doug G
Posts: 1189 Joined: 12/29/2001 From: SoCal Status: offline
|
RE: Refresh HTML page by server event in realtime(1 sec) - 6/17/2003 12:48:09
You could look at xmlHTTP if you don' t mind a MS-only solution
_____________________________
====== Doug G ======
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|