Question about SessionAware docs. 2007-01-23 - By Dave Newton
Back The JavaDoc for SessionAware states:
"Note that using this interface makes the Action tied to a servlet environment, so it should be avoided if possible since things like unit testing will become more difficult."
I'm not entirely sure that's accurate, as it isn't *explicitly* tied to the servlet environment... it's just that S2 uses an interceptor (I assume) to copy over HttpSession attributes. But it's just a Map setter.
Could the wording be changed a little bit?
Dave
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|