On 4/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On the subject of one Action calling another, one option that is often > overlooked is to simply instantiate another Action yourself and call > process() on it manually. I.e., in Action A do: > > Action ab = new ActionB(); > ab.process(m f, r, r); > > The benefit to this is that you don't need to go through the request > processing chain again, and you can determine whether you want to use the > forward returned by the called Action (Action B above) or the one > generated by the Action doing the calling (Action A above).
This does not work for me since redirection is a key part of my approach to chaining. I do chaining in order to provide more robust and friendly UI, not because I just want to reuse some business code. Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]