Application objects

2003-11-04 Thread Mathieu Grimault
Hi all, I would like to display the number of users connected (number of session) to my application. Is there a way to do this ? Another question, Can we implements code in the session class (by extending the class) and can we store/access/ modify objects in the ServletContext during

Re: Application objects

2003-11-04 Thread Ruth, Brice
The Tomcat manager application can show how many active sessions a particular application has, so I imagine its possible - probably depends on the particular container. I'm not sure about extending the session class, I imagine so, though I wouldn't know where you would indicate that *your*

RE: Application objects

2003-11-04 Thread David Friedman
Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:01 AM To: Struts Users Mailing List Subject: Re: Application objects The Tomcat manager application can show how many active sessions a particular application has, so I imagine its possible - probably

RE: Application objects

2003-11-04 Thread Yansheng Lin
This is what I did: implements javax.servlet.http.HttpSessionListener This way you don't get tied up with Struts. -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: November 4, 2003 9:24 AM To: Struts Users Mailing List Subject: RE: Application objects

RE: Application objects

2003-11-04 Thread Mahesh Joshi
Grimault [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 12:57 AM To: Struts Users Mailing List Subject: Application objects Hi all, I would like to display the number of users connected (number of session) to my application. Is there a way to do this ? Another question, Can we