All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: enthuware.jwpv6.2.1045
PostPosted: Sun Nov 25, 2012 2:00 pm 
Offline

Joined: Sun Nov 25, 2012 1:48 pm
Posts: 1
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.


Top
 Profile Send private message  
 
 Post subject: Re: enthuware.jwpv6.2.1045
PostPosted: Sun Nov 25, 2012 5:12 pm 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 3128
But there is no such event as HttpSessionAttributeEvent

As mentioned in the explanation, there is an HttpSessionAttributeListener but no HttpSessionAttributeEvent.

HTH,
Paul.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL/ThatBigForum