Configuring Liberty for JavaServer Pages 2.3
You can configure Liberty for the JavaServer Pages (JSP) 2.3 feature, which provides full support for the JSP 2.3 specification.
About this task
To configure a Liberty server to run an
application that is enabled for JSP 2.3, you must set the
server.xmlfile to add the
<featureManager> <feature>jsp-2.3</feature> </featureManager>
jsp-2.3feature requires both the
el-3.0features and when configured, causes these features to load.
- You cannot use
- You can use other Java™ EE 6 features, such as JSF 2.0 and CDI 1.0, with the JSP 2.3 feature.
- You can choose between the JSP 2.2 and JSP 2.3 feature implementations for each server instance, but you must consider any behavior changes. If the required behavior is contained only in the JSP 2.3 feature, then you must use the JSP 2.3 feature. If an existing application would be adversely affected by behavior changes in the JSP 2.3 feature, then use the JSP 2.2 feature to preserve the existing behavior for that application.
- It is not possible to use both the JSP 2.2 and JSP 2.3 features in the same Liberty server. If both features are configured,
it produces an
CWWKF0033E: The singleton features jsp-2.3 and jsp-2.2 cannot be loaded at the same time. The configured features jsp-2.3 and jsp-2.2 include one or more features that cause the conflict.
See JavaServer Pages 2.3 feature functions to learn about changes in the JSP 2.3 feature.