File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContextAttribute Listener doubt

 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to use this interface
ServletContextAttributeListener?

should I include this in the <listener-class> element?
Can I include 2 <listener-class> element inside a single <listener> tag.
Because I also have a ServletContextListener.
 
Leandro Melo
Ranch Hand
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How to use this interface
ServletContextAttributeListener?


Just implement the interface and configure it in DD.



should I include this in the <listener-class> element?

Yes.



Can I include 2 <listener-class> element inside a single <listener> tag.
Because I also have a ServletContextListener.


No! Create one listener element for each listener you have.
[ August 09, 2005: Message edited by: Leandro Melo ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic