struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <D...@Newfield.org>
Subject Re: Is it possible to pass a dynamic parameter to a redirectAction?
Date Fri, 03 Aug 2007 04:13:50 GMT
Piero Sartini wrote:
> I have the following situation:
> a searchfield is on top of a table presenting results. if there is only one 
> result, the user should be redirected without the need of clicking on the 
> list..

If you just want them to see the list for X seconds, then the link to be 
followed, put this in the <head> section of the resulting page:

<meta http-equiv="refresh" content="60;url=<s:url includeParams="get"/>"/>

Of course, you'll want a different value for that s:url tag, but only 
you know that value.

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message