Hello,

I am trying to use a BaseAction class for my action, and i have been
wondering what to put in there;

As for now, i have put the basic stuff there like finding a forward for
a database faillure and so on..
(like in the mailreader example by the way). Also, i have put a method
that retrieves a handler from
the servlet context that all actions need. Is this a good idea?

I wonder whether it's a good idea to do authorization in the base class
by implementing an abstract
execute method that will check whether a user is logged in.. All action
classes then will first call
this abstract execute method.

What do you put in base classes?
Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to