• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContextAttribute Listener doubt

 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic