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)
EXAMPLE