This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Providing an application endpoint
You can make a Liberty feature available as web applications by including one or more web application bundles (WABs) in the feature. A WAB is an OSGi bundle with a Web-ContextPath manifest header.
Procedure
To enable WABs in your feature's bundles, add the com.ibm.wsspi.appserver.webBundle-1.0 feature
to the Subsystem-Content: header in the .mf file
of your feature:
Subsystem-Content:
my.user.feature.bundle; version="[1,1.0.100)",
com.ibm.wsspi.appserver.webBundle-1.0; type="osgi.subsystem.feature"