+

Search Tips   |   Advanced Search

Configure the Liberty profile for Servlet 3.1

We can configure the Liberty profile for the Servlet 3.1 feature, which provides full support for the Servlet 3.1 specification.

To configure a Liberty server to run an application enabled for Servlet 3.1, set the <servlet-3.1> feature.

Update server.xml to add the <servlet-3.1> feature. For example:

<featureManager>
 <feature>servlet-3.1</feature>
</featureManager>

Important:


Results

The Servlet-3.1 feature now loads at run time.


Parent topic: Administer web applications

Reference:

JSR-000340 Java Servlet 3.1 Specification