I actually had an invisible applet working once. All the applet did was maintain a socket connect to a little server running on the same machine as the webserver. The applet did nothing more than force browser refresh.
I infact thought of an alternate for the meta refresh, as Mr.Ben has suggested i was looking for some way to push information down to the client.
Anyway i will try go forward with meta tag refresh.
Have a Good time.
Joined: Oct 12, 2000
meta refresh is simpler to implement but has the big disadvantage that the entire page is reloaded constantly. By using JS you can just reload the content of the chatlog without reloading the entire page (possibly deleting whatever the user was typing in the progress).
As already stated, using a pure Java client instead of a browser interface is a cleaner solution.
...unless you are using frames. (Please don't take that as a recommendation: frames are ugly)
But of course this is a moot point - as others have already suggested, this is not a good way to go. Yet another disadvantage is that in Windows a sound is often tied to the refresh option - so constantly refreshing a page through IE can make your PC tick like a clock. [ February 03, 2005: Message edited by: Paul Sturrock ]
Joined: Jan 16, 2001
Its true that the refresh is annoying to the user, i will include the JS to make things better.