Re: Redirecting to another action which is in another web context

2013-05-08 Thread srikanth
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

Re: Redirecting to another action which is in another web context

2013-05-07 Thread srikanth
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*

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Dale Newfield
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

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
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

Re: Redirecting to another action which is in another web context

2013-05-07 Thread 陈岗
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

Fwd: Redirecting to another action which is in another web context

2013-05-07 Thread 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 redirection. -- Thanks & Regards Srikanth

Redirecting to another action which is in another web context

2013-05-07 Thread 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 redirection. -- Thanks & Regards Srikanth Software Developer -