This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletListners

 
upul indrajith
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both HttpSessionActivationListner and HttpSessionListner respond to the same HttpSessionEvent. How can this happen ? What listner code will run first ?
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I encourage you to look closer at the definition of these two listeners and what they respond to. Also, the HttpSessionEvent is the object that is passed to the methods that are called when events happen. It is not the event that triggers the method call. This is a very fundamental difference that you need to grasp.
 
upul indrajith
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic