Hello All,
Is there a notion of virtual methods in
servlets? For example, given that servlet A is a base class for servlet B.
If servlet A has a doGet method, but servlet B does not, will a doGet call on servlet B cause A's doGet to be called?
If A's doGet method does get called in this case, and during the execution of A's doGet, a method in B is called.
Note that A has the method that was called, but will B's method be the one executes? It is like virtual in c++.
Do servlets have this capability?
Thanks for any help you can give.
-Ravi