Automatic update of jsp clients - TOMCAT

B

Bo Rasmussen

Hi,

Is there a simple way to automatically update clientviews for my
webapplication (max. 30 simultaneous clients). I'm using TOMCAT 4.1.

Regards
Bo Rasmussen
 
A

Alex Potter

Bo said:
Hi,

Is there a simple way to automatically update clientviews for my
webapplication (max. 30 simultaneous clients). I'm using TOMCAT 4.1.

Regards
Bo Rasmussen

A 'refresh' header?
 
B

Bo Rasmussen

Hi Alex,

Can you control the client from the servers using such headers??? I want
clients to be in synch with the database on the server, so I would like the
server to send 'something' to the client to trigger an update. Can a refresh
header be used for this purpose ?

Regards
Bo
 
P

Peter Kirk

Bo Rasmussen said:
Hi Alex,

Can you control the client from the servers using such headers??? I want
clients to be in synch with the database on the server, so I would like the
server to send 'something' to the client to trigger an update. Can a refresh
header be used for this purpose ?

Regards
Bo

It depends what your "client" is. If your client is a standard browser then
a http-refresh could possibly be used - as far as I know it tells the
browser that after a certain amount of time it should resend the request -
and thereby be refreshed with updated data from the database (generated by
your webapplication).

You can't just send data from your webapplication to a browser, because the
browser works by sending a request and expecting a response to that request.
It does not expect an "unsolicited" transmission of data.

If you have another kind of "client" then things may be different, because
maybe it can handle unsolicited data and respond in a meaningful way.

Peter
 

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

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top