You could use DWR's reverse ajax which allows the server to push data to
clients rather than the clients polling which can be inefficient.
http://getahead.org/dwr/changelog/dwr20m1
http://getahead.org/dwr/download
YagNesh wrote:
Hi,
We have been trying to create a trading portfolio page which lists about 20
stocks with prices.
We need that stock price to be refreshed every 20-30 seconds after fetching
the price from server, indirectly from database.
I had tried to use Struts2 tag <s:div>one per stock data, but it overload
the server with lots of requests and fails.
Please provide some guideline with AJAX approach to refresh.
Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]