In Struts 2, is DefaultActionInvocation invokeAction responsible for invoking
the action methods and what would be a good approach to change all action
method signature to have a fixed number of parameters? 

For regular actions, I implemented a BaseAction class with an abstract
method and having the execute() call this new executeImpl(RequiredParam
param) but not sure how this can be done for the methods in Dispatch
Actions. In Struts 1, one could change the signature for methods in dispatch
actions by overriding the DispatchAction getMethod and dispatchMethod
methods. 

The requirement is to have one parameter passed in all action methods
whether that be execute() or any other. Any help would be greatly
appreciated. 

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Struts-2-%E2%80%93-changing-method-signature-tp23413593p23413593.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to