Calling a LookUpDispatchAction from another Action
posted 10 years ago
I was wondering if there was some kind of "default" method in a LookUpDispatchAction, so that I could use mapping.findForward() from another Action. I must call that LookUpDispatchAction exactly as if I were calling a "normal" Action, I can't add any parameters or attributes in the request/session.
It sounds like you want to chain Actions and I would consider some refactoring. The business logic from the DispatchAction should probably be moved out to a delegate so other actions can call the logic without having to chain to the DispatchAction.