Thanks Anand for your reply.
I am using "Sun Certified Web Component Developer Study Guide" by David Bridgewater. In that they have mentioned like this "The last listener methods potentially called are those in those classes implementing
ServletContextAttributeListener. The web container removes attributes from the context after the ServletContextListener.contextDestroyed() method has completed, which may cause calls to ServletContextAttributeListener.attributeRemoved()."
Even i tried with some programs writing ServletContextListener and ServletContextAttributeListener with all methods. The last listener methods called are those in ServletContextListener class.
Thanks,
G. Kamal