Issue #2401 Fix documentation for osgi webapp bundle

This commit is contained in:
Jan Bartel 2018-04-03 10:35:34 +10:00
parent 426fb955f8
commit b53fbe01ab
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ public void start(BundleContext context) throws Exception
Dictionary props = new Hashtable();
props.put("Jetty-WarResourcePath",".");
props.put("contextPath","/acme");
context.registerService(ContextHandler.class.getName(),webapp,props);
context.registerService(WebAppContext.class.getName(),webapp,props);
}
----