felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michiel Vermandel <mverm...@yahoo.com>
Subject Getting sessions inside Servlet.
Date Fri, 16 Mar 2012 12:51:48 GMT
Hi,

I would like to have a sessionlistener inside a servlet that informs that servlet of sessions
being created - or destroyed.
Preferably I'd only like to receive the event when the session has requested the servlet.

Is this possible with this setup:

g! [INFO] Started jetty 6.1.x at port(s) HTTP:8080


START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.2)
    1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
    2|Active     |    1|Apache Felix Gogo Command (0.12.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    6|Active     |    1|Apache Felix Http Bundle (2.2.0)

AND

a web.xml like the bridge example? http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/webapp/WEB-INF/web.xml


Thanks a lot!

 
-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message