Re: about overriding the excute method
Gomathi wrote: hai, what will happen when the execute () of action class is overrided by the subclass called dispatch action?. Regards gomes If you mean extending DispatchAction, your execute() method will get called. Unless you have a call to super.execute() (which then calls DispatchAction.execute()), your class will pretty much behave like a regular Action class, which kind of defeats the purpose of extending DispatchAction in the first place. If you need to do special processing before any of your methods are invoked, an idea is to override execute(), do some processing and ensure you call super.execute() somewhere appropriate. - Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about overriding the excute method
"Object Oriented Programming" I would suggest investing in a copy of Java POOP [ http://stevenf.com/mt/gfx/javapoop.jpg]? Of course we know it's an acronym for "Principles of Object Oriented Programming", but good times nonetheless. On 8/23/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: the overriding action's method will be called, what do you expect? leon On 8/23/06, Gomathi <[EMAIL PROTECTED]> wrote: > hai, > what will happen when the execute () of action class is overrided by the subclass called dispatch action?. > Regards > gomes > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about overriding the excute method
the overriding action's method will be called, what do you expect? leon On 8/23/06, Gomathi <[EMAIL PROTECTED]> wrote: hai, what will happen when the execute () of action class is overrided by the subclass called dispatch action?. Regards gomes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
about overriding the excute method
hai, what will happen when the execute () of action class is overrided by the subclass called dispatch action?. Regards gomes