Web application registration

The Web Container allows for a few ways to register web content; one of them is to use its WebContainer service API, another is by relying on automatic detection of the web application bundle by the extender.

The API-based registration will require you to write a bundle activator and get an instance of the Web Container service and then call its registerJsps() method. This method is available in addition to the other Http Service operations (WebContainer extends HttpService).

For this example, we won't use a bundle activator. Instead, we will add an entry to the bundle manifest and create a very simple WEB-INF/web.xml file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.69.163