Sort of. The way that I've achieved something similar to what you seem to be asking is to define a bunch of Global Results in struts.xml that define common actions that the interceptors may need to invoke (like reset-password or invalid-input), then instead of chaining to the action in the interceptor, just return the name of the global result and you've effectively called that action. (*Chris*)
On Tue, May 26, 2009 at 11:53 PM, Stefano Corallo <stefan...@gmail.com>wrote: > Hi all, > > can an interceptor call an arbitraty action different from the action > requested by the client? > > Suppose i've the interceptor "interceptor-router" placed in the stack and > the client call MyAction.action, when the interceptor intercept the call is > possible to 'redirect' the call to MyDifferentAction.action from the > interceptor? > > I've seen that there is action chaining but this require to know at build > time the name of the actions i want to redirect to, but i know the name > only > at runtime and > > > I hope i was clear :) sorry for my english. > > > -- > Stefano Corallo >