[S2] Mapping a result string for all the actions

2008-03-10 Thread GF
I've an action like this: action name=myAction class=myClass method=myMethod ... result name=myResultName type=redirect/path/my.action/result /action I would like that, when any action method in my application returns myResultName, a redirect to /path/my.action should be executed. Any idea about

Re: [S2] Mapping a result string for all the actions

2008-03-10 Thread Lukasz Lenart
Hi, You can use global-results http://struts.apache.org/2.0.6/docs/result-configuration.html Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [S2] Mapping a result string for all the actions

2008-03-10 Thread GF
Thank you It's exactly what I was looking for! On Mon, Mar 10, 2008 at 3:34 PM, Lukasz Lenart [EMAIL PROTECTED] wrote: Hi, You can use global-results http://struts.apache.org/2.0.6/docs/result-configuration.html

Re: [S2] Mapping a result string for all the actions

2008-03-10 Thread stanlick
Isn't it great when you can exactly what you need with exactly one message for exactly $0.0? Priceless! On Mon, Mar 10, 2008 at 10:00 AM, GF [EMAIL PROTECTED] wrote: Thank you It's exactly what I was looking for! On Mon, Mar 10, 2008 at 3:34 PM, Lukasz Lenart [EMAIL PROTECTED] wrote: