aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes ServletListners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "ServletListners" Watch "ServletListners" New topic
Author

ServletListners

upul indrajith
Ranch Hand

Joined: Sep 01, 2007
Posts: 36
Both HttpSessionActivationListner and HttpSessionListner respond to the same HttpSessionEvent. How can this happen ? What listner code will run first ?
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
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

Joined: Sep 01, 2007
Posts: 36
Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: ServletListners