--- On Wed, 12/3/08, Fogleson, Allen wrote: > I should be more explicit. When I say I recommend avoiding > using sessions with struts2 of course I meant I recommend > avoiding implementing SessionAware. When Possible I try to > do it the way I outlined using session scoped spring > injections. (makes testing a whole lot easier too)
Only valid if you're using Spring, but even then, during testing I generally find it easier to just set things into the session map rather than either programmatically configuring Spring or having multiple config files to swap session objects around. That might just be me, though. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]