This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HttpSession Listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HttpSession Listeners" Watch "HttpSession Listeners" New topic
Author

HttpSession Listeners

mak pandian
Ranch Hand

Joined: Jul 06, 2011
Posts: 30

Hi folks,

We knew that there are four listeners for HttpSession. They are HttpSessionListener, HttpSessionAttributeListener, HttpSessionActivationListener and HttpSessionBindingListener.

As both activation and binding listener are being used to implement it on Java class that use with HttpSession, Shouldn't it be configured with deployment script(web.xml)

Thats what my observation. Is this right?

Thanks..
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1628
    
  23

Check this thread

Regards,
Frits
mak pandian
Ranch Hand

Joined: Jul 06, 2011
Posts: 30

Thank You Frits Walraven.

My observation is correct.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpSession Listeners
 
Similar Threads
Order of Listener Notification
Using Listeners in Session beans
Tomcat: getActiveSessions, getSessionParams(sID) -> How?
Automatic Redirect to Login page on Session Expire
Session Activation/Passivation