struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: Redirecting to another action which is in another web context
Date Wed, 08 May 2013 05:45:28 GMT
It's just generating a URL and telling the browser to redirect there.  Why should the scope
(local/remote) matter?
-Dale

On May 8, 2013, at 1:38 AM, "Sreekanth S. Nair" <sreekanth.nair@egovernments.org> wrote:

> Hi Gang,
>     I hope these all works only for those action which exist in the same
> web context not for action exist in another web context.
> 
> 
> -- 
> Thanks & Regards
> Srikanth
> 
> 
> On Wed, May 8, 2013 at 11:04 AM, 陈岗 <danielchen06@gmail.com> wrote:
> 
>> Hi
>> 
>> try them
>> 
>> <result name="success" type="redirect">
>> 
>> or
>> 
>> <result name="success" type="redirectAction">
>> 
>> or
>> 
>> <result name="success" type="chain">
>> 
>> 
>> 
>> 2013/5/8 Sreekanth S. Nair <sreekanth.nair@egovernments.org>
>> 
>>> Hi,
>>>    Does Struts2 have any way to redirect from one action to another
>> action
>>> which exist in a different Web Context.
>>> ServletRedirectResult and ServletActionRedirectResult doesn't seems to be
>>> work for Cross Context Action redirection.
>>> --
>>> Thanks & Regards
>>> Srikanth
>> 
>> 
>> 
>> --
>> Gang Chen
>> TILSI
>> Taicang Institute For Life Science Information
>> Address: A2/162, Renmin South Road, Taicang, 215400, Jiangsu Province,
>> P.R.China
>> Phone:(+86)512-82782588
>> 

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


Mime
View raw message