Hi, What is the 'best practice' followed in declaring the class-wide log instance in Struts?
LookupDispatchAction for example, doesn't have it declared explicitly since DispatchAction has a protected instance which it can use (and subsequently a subclass of LookupDispatchAction can use it as well). OTOH, MappingDispatchAction (a sibling of LookupDispatchAction and having similar functionality) has one declared explicitly and that is marked private. I was trying to figure out (and learn) the convention followed in declaring the scope of log instances in a framework like Struts (private, protected) and also, if protected, is there any design force that guides how they would be used in the subclasses or is it going to be purely need driven. Regards, Indrajit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]