You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael McGrady <mi...@michaelmcgrady.com> on 2004/03/13 06:39:15 UTC
RE: how to automatically forward user's page to a html link at
speified time
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@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org