Re: redirect with parameter in struts

2010-08-24 Thread Robert Taylor
Another possible way is to leverage the ActionRedirect class. For example: ActionRedirect redirect = new ActionRedirect(mapping.findForward("someRedirectingForwardDef")); redirect.addParameter("cmp", companyName); redirect.addParameter("myOtherParameter", myOtherParameterValue); return redirec

Re: redirect with parameter in struts

2010-08-24 Thread Paweł Wielgus
Hi, one possible way is: return new ActionForward("/orderWrapper.do?actionTarget=VIEW_CUSTOMER", true); inside a execute action method. Best greetings, Paweł Wielgus. 2010/8/24 Struts User : > Hi, > > Is it possible in struts1 to include a parameter in the action redirection. > If I have a web a

Re: redirect with parameter

2009-12-10 Thread prasad iyer
u, 10 December, 2009 15:20:55 Subject: RE: redirect with parameter Prasad: > I am stuck with a problem I want to add parameters to > redirect. Following is the example. Here is what works for me: In struts.xml: 303 ${redirectUrl} I generate the full url in my bean code in

RE: redirect with parameter

2009-12-10 Thread Neil Aggarwal
Prasad: > I am stuck with a problem I want to add parameters to > redirect. Following is the example. Here is what works for me: In struts.xml: 303 ${redirectUrl} I generate the full url in my bean code including all parameters I want encoded. I hope that helps, Neil --