I am ahaving a problem with ServletContextListener.
See the following code. Is there anything wrong with it.
web.xml is:
servlet uses this as :
B b = (B)getServletContext().getAttribute("ax");
I'm using
Tomcat 5.5.20 Server.
Please give me a clue or show me what was wrong with this.
Do I need to implement HttpSessionAttributeListener and HttpSessionListener also in A ?
-Lanka
[BSouther: Added
UBB CODE tags]
[ March 21, 2007: Message edited by: Ben Souther ]