Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

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.
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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.
Bill

------------------
author of:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Updating Report Pages.