On Tuesday 11 September 2007 23:03, Nils-Helge Garli wrote: > You could, but I would recommend using the *Aware interfaces in your > actions. It makes them easier to test. > Hmm.. I've always handled session data by creating an application base action that implements a "getUserData()" and a "setUserData() method. All my actions extend this base action. I then use an interceptor to grab the session data build whatever object I decide to use to hold the data and inject it into the base action. In this way, all my actions can simply "getUserData()" without having to care where the data comes from. Is this bad practice or just a matter of personal preference?
Regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]