So, doesn't anyone had this kind of problem? Can Struts handle this kind of derivation(subclassing) that was used very often e.g. in C++ based frameworks?
Any suggestion?
- r a
From: "Rick Ashley" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Overriding Action and super.execute Date: Mon, 24 Feb 2003 18:17:42 +0000
Hello,
I have overriding execute method of Strut's Action class to a new BaseAction class (Action is it's parent) and put some 'generic' stuff there. Business classes are derived from this BaseAction class. They might also in some cases override execute method.
My question is that if execute method is overriden also in Business Action class and in BaseAction class too, why sometimes the call below:
return super.execute(mapping, form, request, response);
in Business Action class does not invoke execute method of BaseAction's
class??? It seems to be routed directly to Strut's original Action classes execute method because application continues progressing but does not stop to the debugger breakpoint set to BaseAction class...
Anyone have any hints?
Br
rick
_________________________________________________________________
Overloaded with spam? With MSN 8, you can filter it out http://join.msn.com/?page=features/junkmail&pgmarket=en-gb&XAPID=32&DI=1059
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]