File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listener Interfaces

 
Vijay Rajaram
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone validate my observation on the configuration of various event listeners?
The classes which implement the interfaces HttpSessionAttributeListener, HttpSessionListener, ServletContextAttributeListener, ServletContextListener has to be configured in the web.xml to get notified of their events.
Where as the classes for the interface HttpSessionActivationListener or HttpSessionBindingListener are not required to be configured in the web.xml and all the objects of those classes which implement these interface and which exist in the current session get notified of its event.
Is my assumption valid?
Thanks,
- VJ
 
Bruce Jin
Ranch Hand
Posts: 672
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes VJ, you are right about these assumptions.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic