struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Two quickies; #session, and old "completeStack"
Date Tue, 02 Jul 2013 07:04:20 GMT
2013/6/22 Dave Newton <davelnewton@gmail.com>:
> 1) Where does #session get set now? It used to happen in the old
> dispatcher, IIRC. Now the only place I see after cursory inspection is in
> CreateSessionInterceptor, which isn't in the default stack.
>
> Does this mean that #session doesn't contain the current servlet session
> attribute map any more, or do I just need to take a step back and step
> through everything again?

Session isn't created by S2 if not needed ;-) And the context is
populated with session in Dispatcher class, line 668.

> 2) Let's deprecate "completeStack" from struts-default.xml for the next
> "major" release, if nobody minds. I'd like to start taking some cruft out.

+1

> 2a) Like the old dispatchers ;)

Why?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message