aspose file tools*
The moose likes Servlets and the fly likes How to use HttpSessionActivationListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to use HttpSessionActivationListener " Watch "How to use HttpSessionActivationListener " New topic
Author

How to use HttpSessionActivationListener

kasi pandian
Greenhorn

Joined: Feb 01, 2008
Posts: 12
Hi Friends
I would like to implement HttpSessionActivationListener in my project . Can you please tell me what all needs to be done for this?
I also tried. But I'm not able to get any outputs from Listener. I've implemented this class and overrided two unimplemeted methods(sessionDidActivate,sessionWillPassivate). And I put Println statements inside. And I kept a listener entry in web.xml.My project is working fine. but the listener class println statements is not printing in the console. Can you please send me the steps and if possible send some sample codes. Any help would be appreciated.

Regards
Kasipandian.R
Reesha Ashok
Ranch Hand

Joined: Apr 05, 2008
Posts: 32
Classes implementing HttpSessionActivationListener and HttpSessionBindingListener doesn't require to be configured in deployment descriptor.


Thanks & Regards,<br />Reesha
kasi pandian
Greenhorn

Joined: Feb 01, 2008
Posts: 12
Thanks Reesha,

However I want some sample programs. Can you please send me some samples

Thanks
Kasi..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42926
    
  68
This article may be of interest.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use HttpSessionActivationListener