But incase of redirect all request parameters needs to be passed manually or struts 2 has some built in support for this
On Mon, Mar 4, 2013 at 1:17 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote: > Redirect instead of forwarding > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > 2013/3/3 Mohit Gupta <motgu...@gmail.com>: > > Folks > > > > i have a scenario where i need to forward the request from struts 2 > action > > to legacy action class which is not struts 2.Here is my flow > > JSP--->Action1(Struts 2 action under customer namespace)--->Action2(Non > > Struts 2 Action)--->ResultJSP. > > > > Here is my result annotation which actually forwards the request to > legacy > > action > > > > @Result(name = "displayCustomer",location = "legacyAction.do", type = > > "dispatcher") > > > > I can see my ResultJSP correctly. But issue is that browser is looking > for > > all resources included in that jsp like images, javascript files > > under namespace for first action i.e customer > > > > Is there a way i can truncate the namespace before forwarding to my > legacy > > action (in result annotation) or if not > > possible i can set it in my action method before returning result? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >