struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <>
Subject RE: Intelligent Refresh/Reloading
Date Wed, 04 Jun 2003 03:26:34 GMT

The webserver has no way of notifying the client that it needs to load the
page again.

Struts doesnt provide anything to help with this.

Some attempted solutions Ive seen include the good old polling method (js
causes the page to reaload every minute or so) which is inefficient and
inelegant, and 'pushlets' which are an evil hack where the server doesnt
close the connection to the client (tying up a socket), and can write lines
of javascript to the connection occasionally causing the client to do stuff.
Neither are very robust.

One might also consider the idea of an applet that maintains its own
connection with the server but Ive not implemented such a thing myself.

-----Original Message-----
From: Jason Meredith []
Sent: Tuesday, 3 June 2003 19:49
To: Struts Users Mailing List
Subject: Intelligent Refresh/Reloading


I have a list of records that are displayed on a web page, the database
receives new records periodically, is there a way to determine when a new
record is loaded into the dB and then using Struts reload that page when a
new record is added?



The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the named addressee(s)
only. If you are not the intended recipient, please notify us
immediately and do not disclose, distribute, or retain this e-mail
or any part of it.

Unless expressly stated, opinions in this e-mail are those of the
individual sender and not of the FIMAT Group. We believe but do not
warrant that this e-mail and any attachments are virus free.
You must therefore take full responsibility for virus checking.
The FIMAT Group reserve the right to monitor e-mail communications
through its networks.

Where this communication constitutes a financial promotion it is issued
and approved by Fimat International Banque S.A. (UK Branch) and is
only intended for persons of a kind described in article 19(5) of the
Financial Services and Markets Act 2000 (Financial Promotion) Order
2001.  This information is not intended to be distributed to UK "Private
Customers" (as defined by the Financial Services Authority).

Fimat International Banque S.A. (UK Branch) whose registered branch
in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised
by the Commission Bancaire in France and by the UK Financial Services
Authority; regulated by the Financial Services Authority for the conduct of
UK Business and is entered in the Financial Services Authority's register
(Register Number 183415), access to which can be gained via the following

Member and a SETS Participant of the London Stock Exchange ("LSE").
Where this communication is confirming an "on exchange" transaction
(as defined by the LSE),the transaction is subject to the rules of the LSE.
Any information, opinions, estimates and forecasts contained in this
document have been arrived at or obtained from public sources believed
to be reliable and in good faith which has not been independently
verified and no warranty, express or implied, is made as to their accuracy,
completeness or correctness.

This document is not an offer to sell or a solicitation to acquire or
of an interest in financial instruments.

If you have received this transmission in error, please telephone
+44 020 7676 8999 immediately so that we can arrange for its return.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message