Re: redirect with parameter in struts

2010-08-24 Thread Robert Taylor
myOtherParameterValue); return redirect; The framework takes care of building the query string, encoding, etc... /robert - Original Message - From: "Struts User" To: Sent: Monday, August 23, 2010 6:01 PM Subject: redirect with parameter in struts Hi, Is it possible in stru

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

redirect with parameter in struts

2010-08-23 Thread Struts User
Hi, Is it possible in struts1 to include a parameter in the action redirection. If I have a web application say, http://www..xyz.com/welcome.do and I want to redirect it to http://www.xyz.com/welcomeredirect.do?cmp=company1 while value of "cmp" will be assigned dynamically. how can I achieve this?