Ayaz Ahmed Khan
12/16/2006 2:19:00 PM
"dc" typed:
> i understand super passes method calls up to the parent.
> is there a way to call down to the child instance, to a different method?
> I guess the other way is to instantiate the right child servlet in the
> webserver, but this means i dont get access to super methods...
My OO know-how may have turned rusty, but isn't a Parent class (and
therefore its object) oblivous of its children (and therefore the methods
and whatever defined in its children)?
Why not re-define do_GET in Servlet1?
--
Ayaz Ahmed Khan
"Not only is this incomprehensible, but the ink is ugly and the paper
is from the wrong kind of tree."
-- Professor W.