File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39543
    
  27
This article may be of interest.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use HttpSessionActivationListener
 
Similar Threads
attribute migration doubt
HttpSessionActivationListener
Listener
How to use HttpSessionActivationListener
setAction and addActionListener