Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Updating Report Pages. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Updating Report Pages." Watch "Updating Report Pages." New topic

Updating Report Pages.

Ramneek Handa
Ranch Hand

Joined: Nov 10, 2000
Posts: 44
Hi folks,
There is one problem I want to discuss with you.
I my application, if a client is looking at some report and meanwhile some updation or insertion or deletion happens in the table related to that report those changes should get fleshed/refreshed to the client immediately.
I will be glad if you can forword your suggestions.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Since a server can't initiate transmission, you will have to have some process on the browser that polls the server to see if a change in the data has occurred. If a change has occurred the process must initiate a request to regenerate the HTML.
There are lots of possibilities for this process - for example, you might have an applet in an invisible frame.

author of:
I agree. Here's the link:
subject: Updating Report Pages.
It's not a secret anymore!