Hi,
Why value unbound cannot be printed first?
In DD, we don't need to include HttpSessionBindingListener, only HttpSessionListener is needed. So, the order of which listener should be implemented is not specified.
About Question enthuware.jwpv6.2.770 :
Moderator: admin
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
-
- Site Admin
- Posts: 10113
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.770 :
As per the JavaDoc for invalidate method, "Invalidates this session then unbinds any objects bound to it." It is clear that the attributes are unbound after the session is invalidated. Therefore, "value unbound", which is being printed by HttpSessionBindingListener cannot be printed before "session destroyed".
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 17 guests