Realtime client content update

T

Terry Hayes

I've been looking for weeks on this without much luck so I'm ready to give
up and just use Powerpoint online broadcast. I want to deliver a
presentation via the web but only to one or two viewers. I was hoping to
broadcast (narrowcast I suppose) simple html or dhtml pages which change at
my control. I guess it involves a kind of server push with commands to
update pages from my PC. The important thing is I want to initiate the page
update not have it happen automatically according to a predetermined time
sequence.

Can anyone help please?

Thanks
TJ
 
B

Bagbourne

Terry said:
I've been looking for weeks on this without much luck so I'm ready to give
up and just use Powerpoint online broadcast. I want to deliver a
presentation via the web but only to one or two viewers. I was hoping to
broadcast (narrowcast I suppose) simple html or dhtml pages which change at
my control. I guess it involves a kind of server push with commands to
update pages from my PC. The important thing is I want to initiate the page
update not have it happen automatically according to a predetermined time
sequence.

Can anyone help please?

Thanks
TJ

have a look at
http://www.codingforums.com/showthread.php?s=&threadid=16205

Basically, you use javascript and DOM calls to create, and add to the
document header a script element, set the SRC attribute to the URL at
which a sevlet will provide a stream of Content-type:text/javascript
which contains the javascript code to execute, and, importantly, the
code to remove the script from the header.

You can do this in a setInterval() timer, and have it poll the server to
get new info from a servlet and update the browser document.

So the *servlet* decides what to do and when. IT sends the javascript to
dynamically change the document.

I use this in one of my projects. The client using the browser sees the
updates arriving as the servlet finds them. It appears to the casual
user as interactive as a windows application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,572
Members
47,204
Latest member
MalorieSte

Latest Threads

Top