So what's stopping you from putting this

<META HTTP-EQUIV="Refresh" CONTENT="5; URL="<html:rewrite
forward="someGlobalForward"/>/">

...in the head section of the page?


"someGlobalForward" would obviously be a global forward that is the entry
point into the application or as you put it "app root" and might just be
"/index.jsp".


--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org


----- Original Message -----
From: "Ionel Gardais" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 10:00 AM
Subject: Re: delay before redirect


> - the user asks for an edit page.
> - a form is displayed.
> - when the form is filled the user clicks on the validate button.
> - action is called and a server side computation is done.
> - when the computation is completed, a page display a success or failure
> message to the user
>   - on success, the main page should be displayed after 5 seconds
>
> my problem is the whole site uses a tiles template with a autorefresh
> set to 5 minutes (meta refresh URL is javascript:location.reload())
> I would like to override this so the success page is only displayed for
> 5 seconds and the URL to be the app root.
>
> thanks,
> ionel
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to