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(serverd from struts 2 action under customer namespace)--->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 file under namespace i.e customer( which is first action namespace and also the namespace of the JSP page from which request got trigerred). Is it the default behaviour of browser that it will look for page resources(and submit the form) under the path for which request got triggered( provided the path is relative)?
Is there a way i can make browser so that it look for resources relative to the path of actual page served instead of original request path ?
May be query is not crystal clear but i tried my best to put it in words