tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Brown" <>
Subject RE: HttpSessionbindingListener
Date Fri, 24 Jan 2003 15:14:50 GMT

HttpSessionBindingListener enables you to be notified when an object is
bound into a session, or when the object is removed from the session (either
progammatically, or when the session itself is invalidated or expired).

If you'd like an object stored in the session to be notified in this way, it
must implement the HttpSessionBindingListener interface.

The interface doesn't have any direct relevance to servlets and JSPs, unless
you have some specific session management requirements. You certainly don't
need it to use sessions in the normal way - just use the 'session' object in
JSP, and HttpServletRequest.getSession() in servlets.



> -----Original Message-----
> From: Henry []
> Sent: 23 January 2003 16:39
> To: Tomcat Users List
> Subject: HttpSessionbindingListener
> while I use JSP building my AP , where can I implement this
> interface? should I implement it just in the page/servlet which
> I create session? or I have to implement it all my pages?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message