posted 20 years ago
Well, make sure the jar archive file (i.e. servlet.jar or j2ee.jar) is a part of your classpath.
And also the interface for javax.servlet.http.HttpSessionListener is defined as:
So unless you are planning on labeling your class as Abstract, you must provide implementations for sessionCreated(HttpSessionEvent se) and
sessionDestroyed(HttpSessionEvent se).
I hope this helps.