This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Some listener questions...

 
Carmen Brianick
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
an attribute is replaced in the session--> HttpSessionAttributeListener
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!