Re: Question about HttpSessionBindingListener and getAttribute in valueBound()

2011-04-12 Thread Thomas Chabaud
I found the answer in the servlet specification : SRV.7.4Binding Attributes into a Session "The valueBound method must be called before the object is made available via the getAttribute method of the HttpSession interface." Sorry for the noise :-\ Le 12/04/2011 11:05, Thomas Chabaud a écrit :

Question about HttpSessionBindingListener and getAttribute in valueBound()

2011-04-12 Thread Thomas Chabaud
Hi, I have problem with Tomcat 6.0 StandardSession implementation. We have an application who calls setAttribute("myAttr", myValue), and try to get this attribute in a method launched in valueBound(), but only gets null value. According to source code, the setAttribute() method calls valueBound