On Sun, Dec 27, 2009 at 3:32 AM, tommy <bit...@gmail.com> wrote:
>   I tried create a httpContext in one bundle, other bundle use the 
> httpcontext when register a servlet. but i think it is not good solution.

You may export shared HttpContext as an OSGi service, any bundle could
get the reference to pass to HttpService.registerServlet(String alias,
Servlet servlet,Dictionary initparams, HttpContext context)

-Guo

Reply via email to