Hi,

Have you consulted [1] ?

So you just register a SessListener service and you should get notified.

Regards
Felix

[1] 
http://felix.apache.org/site/apache-felix-http-service.html#ApacheFelixHTTPService-ServletAPIEvents

Am 16.03.2012 um 13:51 schrieb Michiel Vermandel:

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to