Thanks Andy, I was looking at from the server's perspective :).
----- Original Message -----
From: "Andy Dailey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, March 22, 2006 3:01 PM
Subject: RE: [OT] Web application for pushing contents
This is not a push but a pull. But you can set the browser using
javascript as such:
document.onload=window.setTimeout('window.location=window.location',
7200000 );
This would time out the page after 2 hours and refresh itself. Just
make sure the session timeout is greater than 2 hours...
Hope this helps.
-----Original Message-----
From: Adnan Durrani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 2:45 PM
To: Struts Users Mailing List
Subject: Re: [OT] Web application for pushing contents
Hi,
I don't know how it could be achieved using the struts, maybe store a
HttpServletResponse object into a Thread, and sleep it for every 2 hours
and
write out the contents using the same response object. but I thing
ICEfaces
doing the exactly samething what you are looking for:
http://www.icesoft.ca/products/demos_icefaces.html
check out the autcionMonitor and timezone demo, the time clicks are
being
sent from the server.
Thanks,
Adnan
----- Original Message -----
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Wednesday, March 22, 2006 12:26 PM
Subject: [OT] Web application for pushing contents
Hi
We have an requirement where we want to update
contents on a webpage automatically after 2 hours.
I was doing to research if i can do it using push
technology, for example our webapplication (written in
struts) will push data to these client machines, after
2 hours and refresh the display page there, with a jpg
image or some thing.
Has anyone any pointers for doing this, is it possible
to do it?
or should we just a microsoft scheduler and a batch
file which will open a html page with request to
server after 2 hours.
Regards
Ashish
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]