struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohan Radhakrishnan <>
Subject abstract class
Date Wed, 04 Dec 2002 10:47:14 GMT

   If an action has two different behaviours then it is advised to use an
abstract method in the base class that the sub-action can override.

   Our base action's perform method has to pass control to a sub action's
method for the varying behavior. But if we use an abstract method then the
action cannot be instantiated.

 How is this usually done?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message