Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

RE: how to automatically forward user's page to a html link at
speified time

Webmaster

2004-03-13

Replies:



At 05:36 PM 3/12/2004, you wrote:
>Thanks,I need to forward the page to another link(that is another
>website),obviously such forward is not orginated from a user request,so
>maybe I can auto generate a request at that time,

You mean a response? You don't generate requests, clients do.

>does it mean I have to use javascript to do it? I think struts can, but
>just not find the key solution.
>As you said, if I make all the action class to check the timer,but the
>action itself is called only when a request is submitted. so the question
>is can the timer task generate a request?

Only clients generate a request. You could make your server a client and
have it make a request to itself, but that seems to be a tortuous thing to do.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.