| Author |
ServletContextAttribute Listener doubt
|
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
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.
|
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
|
 |
Leandro Melo
Ranch Hand
Joined: Mar 27, 2004
Posts: 401
|
|
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 ]
|
Leandro Melo <br />SCJP 1.4, SCWCD 1.4<br /><a href="http://www.pazbrasil.org/" target="_blank" rel="nofollow">http://www.pazbrasil.org/</a>
|
 |
 |
|
|
subject: ServletContextAttribute Listener doubt
|
|
|