Most application servers expose some kind of monitoring and management
operations, usually through JMX. Check the documentation for your
application server for more information.
Nils-H
On 26. juni. 2008, at 13.42, Joey <[EMAIL PROTECTED]> wrote:
for example, in a application, a admin user
Hi Joey,
from a security point of view, this should be forbiden.
But You may have a look at manager application from tomcat distribution,
there is exactly such thing that counts and show all sessions in
application. I've no idea how it's done there though, but most likely
there are sources for it i
for example, in a application, a admin user maybe want to check all
sessions on this application, just for this
as I wrote in my first email, I am using a listener to add each
session when a session created, but I am lazy', so just wondering
maybe there is a better and easier way to get all s
On Thu, Jun 26, 2008 at 3:53 AM, Joey <[EMAIL PROTECTED]> wrote:
> Just want to know how to get all sessions.
> now, I used a listener to add ActionContext.getContext().getSession()
> to a list by myself, I just wondering maybe there is a struts API can
> get all sessions.
AFAIK there is no 'getS
Hi Joey, i think this is not a struts issue. As far as i know, you can't
access all sessions with servlet 2.3 compliant container (i don't know
earlier versions)
You can try to use session listeners to session store info in a common
place or jmx solution.
El jue, 26-06-2008 a las 18:53 +0800, Joe
Hi,
The best option is to build your own session listener like that [1]
and register it with web.xml
[1] http://www.java2s.com/Code/Java/Servlets/Servletsessionlistener.htm
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To uns
6 matches
Mail list logo