That's not the problem. Where do you get your ApplicationContext map from? Clearly not from SessionBindingEvent. So stick another Observer pattern to notify your application context?!?
Regards, Nils -----Original Message----- From: delbd [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 3:56 PM To: Struts Users Mailing List Subject: Re: Howto put current users into the application context? Le Mercredi 8 Juin 2005 15:44, Nils Liebelt a écrit : > Hi all, > > I want to show list of currently logged in users. Now in my idea this is > something which should belong into application context. Putting it in there > Is not too difficult. I do it in my extended ActionServlet. But how do I > get it outta there? What listeners do I use in order to get notified when a > session var unbinds also nowing where to find ApplicationContext Map? > put an object implementing HttpSessionBindingListener in the sessions attributes to get notified when session invalidates or times out. > > GreetZ > > Nils > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]