Found the way, In ServletActionRedirectResult we have to set
"prependServletContext" to "false"
On 08/05/2013 11:04, 陈岗 wrote:
> Hi
>
> try them
>
>
>
> or
>
>
>
> or
>
>
>
>
>
> 2013/5/8 Sreekanth S. Nair
>
>> Hi,
>> Does Struts2 have any way to redirect from one action to another action
Hi Dale,
I think you did get what i mean , cross context means (not
local/ remote) but two web application exist inside an EAR.
http://localhost:8080/abc/a/abc.action
http://localhost:8080/xyz/x/xyz.action
I have to redirect from*abc.action* which is in *abc *webcontext to
*xyz.action*
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"
wrote:
> Hi Gang,
> I hope these all works only for those action which exist in the same
> web context not for action exi
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, 陈岗 wrote:
> Hi
>
> try them
>
>
>
> or
>
>
>
> or
>
>
>
>
>
> 2013/5/8 Sreekanth S. Nai
Hi
try them
or
or
2013/5/8 Sreekanth S. Nair
> 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 redire
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
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
Software Developer
-
7 matches
Mail list logo