Re: [Struts2] Redirect forward

2006-10-23 Thread Don Brown
Use the action-redirect result type. IIRC, you can add parameters to it via the XML, but use OGNL expressions for the value. Then, the values will be pulled out of the stack (usually from an Action getter). Don On 10/23/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Hi, I'm not new to stru

Re: [Struts2] Redirect forward

2006-10-23 Thread Mikolaj Rydzewski
David H. DeWolf wrote: Use the redirect result type: /path/to/target Not exactly what I need. I'd like to redirect user to: "/path/to/target.action?id=foo&id2=bar" With struts 1.x one could use ActionRedirect.addParameter(...) to add several parameters and return complete 'redirection' from

Re: [Struts2] Redirect forward

2006-10-23 Thread David H. DeWolf
Use the redirect result type: /path/to/target See: http://cwiki.apache.org/WW/result-types.html for more info. David Mikolaj Rydzewski wrote: Hi, I'm not new to struts, but new to struts2. I have read a few tutorials, and some pages on the wiki and I think I'll use struts2 in future pr

[Struts2] Redirect forward

2006-10-23 Thread Mikolaj Rydzewski
Hi, I'm not new to struts, but new to struts2. I have read a few tutorials, and some pages on the wiki and I think I'll use struts2 in future projects ;-) How can I achieve the functionality of ActionRedirect from the 'old' struts? I want my action to redirect to another url with some param