Usually, just using the basic Http Service is not enough anymore these days, especially when it comes to serving JSP or complete web applications. So, a better usable container is needed.
To install the HTTP Whiteboard feature, start your Apache Karaf server and install the HTTP Whiteboard feature via the console using the following command:
karaf@root()> feature:install http-whiteboard
Transform your Apache Karaf server into a full-featured web container using the following command:
karaf@root()> feature:install war
The Whiteboard feature installs another two Pax Web bundles. These bundles give you JSP and Whiteboard support. These two bundles are shown in the following command-line output:
97 | Active | 30 | 3.1.0 | OPS4J Pax Web - Jsp Support 98 | Active | 30 | 3.1.0 | OPS4J Pax Web - Extender - Whiteboard
This enables Pax Web to deploy and serve JSPs registered to the now available WebContainer...