:) 

As I just said in my reply. YMMV. 

I tend to do a lot of Struts2/Spring and have an bunch of core code that I put 
into the code base to start with. Its sort of like the ant vs maven debate :)

Al

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 03, 2008 8:26 AM
To: Struts Users Mailing List
Subject: RE: session handling

--- 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]


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

Reply via email to