execute() method is called for any action including DispatchAction.
DispatchAction.execute() calls your event handles, but you can
override it if you want.

I suggest using EventDispatchAction instead of DispatchAction. Also,
if you want to extend your own MyAncestor you can use EventDispatcher
class. Search Struts wiki for examples.

Michael.

On 2/16/07, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Hi,



I have a custom class MyAction which extends a custom ancestor
MyAncestor.

MyAncestor class extended Struts Action. I would like to use
DispatchAction so my Ancestor extends now DispatchAction.

I would like to still use execute method to do some jobs. Is it possible
to use DispatchAction and still call automaticly execute method for each
new method like add,update create .... ?



Thank you for your reply,



Best regards,





Jean-Marie.




-------------------
Email Disclaimer
http://www.cofidis.be/emaildisclaimer.php



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to