Hi Dale,

i think that this is the only one solution. Thanks guys for your reply.

--
Stefano Corallo


On Wed, May 27, 2009 at 4:59 PM, Dale Newfield <d...@newfield.org> wrote:

> Stefano Corallo wrote:
>
>> I know the global result, but is unusefull for this purpose. The problem
>> is
>> that the actions that i want to call is knew at runtime cause the
>> interceptor at init time scan classes with certain annotations and i want
>> to
>> forward to those actions so i can't put the result in struts.xml because i
>> can't know what action to call.
>>
>
> If you make the global result "shortCircuitRedirect" redirect to
> %{shortCircuitRedirectUrl}, add that member and getter to your BaseAction
> class, and have your interceptor both set the Url on the action, then return
> the global result name, you'll be able to do what you ask.
>
> -Dale
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to