Which of the following events allow you to access the HttpSession attribute that cause the event to be fired?
The doubt lies among these two answers:
- HttpSessionBindingEvent
- HttpSessionAttributeEvent
When I create a listener of type HttpSessionAttributeListener, I can retrieve the same data as I can when using HttpSessionBindingEvent. And further, I can get the attribute that cause the event considering all objects/values that can be added to the Session attribute.
I still think that the right answer is HttpSessionAttributeEvent.
Anybody could help me with this question?
Thanks.
enthuware.jwpv6.2.1045
Moderator: admin
-
- Posts: 1
- Joined: Sun Nov 25, 2012 1:48 pm
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: enthuware.jwpv6.2.1045
But there is no such event as HttpSessionAttributeEvent
As mentioned in the explanation, there is an HttpSessionAttributeListener but no HttpSessionAttributeEvent.
HTH,
Paul.
As mentioned in the explanation, there is an HttpSessionAttributeListener but no HttpSessionAttributeEvent.
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 55 guests