Q. Implementation of interface HttpSessionListener
Karin Paola Illuminate
posted 14 years ago
Book : Java 2 Web Component Developer [Levi, Sybex]
These are the methods that an implementing class must define: void sessionCreated(HttpSessionEvent e) This method is called when a session is created. void sessionDestroyed(HttpSessionEvent e) This method is called to identify that a session has been invalidated.
Why is the second method correctly defined in the following example? public void (File)sess.getAttributeDestroyed(HttpSessionEvent e)
I not only use all the brains that I have, but all that I can borrow. [Laurence J. Peter]