That would be the same thing as the timee on the div tag,  DWR has a polling
mode, which uses a timer, and another mode(comet? not sure about the name)
that keeps an open connection with the client, and "pushes" the data.

musachy

On 3/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

How about using Prototype.js?  It has a class specifically designed for
AJAX
"timer" behavior.

On 3/23/07, YagNesh <[EMAIL PROTECTED]> 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
> --
> View this message in context:
>
http://www.nabble.com/auto-refreshing-stock-price-tf3451963.html#a9629081
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Scott
[EMAIL PROTECTED]




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to