Hi Alioune,
You don't need a ServiceTracker to run a servlet. You can do it without
a servicetracker too.
Christian wrote a blogpost where you can find an example of a servlet :
http://www.liquid-reality.de/display/liquid/2011/02/15/Karaf+Tutorial+Part+1+-+Installation+and+First+application
AND
https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist/tasklist-ui
Regards,
Morgan
On 2016-03-23 15:47, Alioune wrote:
Hi All,
I am trying to run a servlet in karaf contaire, I have successfully
done that using ServiceTracker.
Now I would like to set a filter for the servlet, but I have no idea
about doing that with ServiceTracker.
I have a few questions :
1: are there others ways than ServiceTracker to run servlet in karaf ?
2: How may I create a filter for servlet running in karaf ?
3: Is there a mean to use the default web.xml ?
Regards,