This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Some listener questions... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Some listener questions..." Watch "Some listener questions..." New topic
Author

Some listener questions...

Carmen Brianick
Ranch Hand

Joined: Feb 23, 2006
Posts: 67
Hi, I have a list of events associated with their relative listeners below. My questions are:

1. I was wondering what listener would be for ???

2. valueBound, valueUnbound, attributeAdded, attributeReplaced, attributeRemoved are all called AFTER the events they are listening to are called?

Thanks so much,
Carmen
session is activated or passivated-->HttpSesionActivationListener
session is timed out-->HttpSessionListener
an attribute is replaced in the session--> ???
a session is created-->HttpSessionListener

Or

session is activated or passivated-->HttpSesionActivationListener
session is timed out-->HttpSessionBindingListener
an attribute is replaced in the session-->None of these
a session is created-->HttpSessionListener
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
an attribute is replaced in the session--> HttpSessionAttributeListener
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Some listener questions...
 
Similar Threads
jdiscuss question
HttpSessionAttributeListener and HttpSessionBindingListener
mock exam doubts
HttpSessionListener
what listeners don't need to register in DD