Java Servlets 3.1
This feature enables support for HTTP Servlets written to the Java Servlet 3.1 specification. You can package servlets in Java EE specified WAR or EAR files. If servlet security is required, you should also configure an appSecurity feature. Without a security feature, any security constraints for the application are ignored.
Enabling this feature
To enable the Java Servlets 3.1 feature, add the following element declaration inside the featureManager element in your
server.xml file:
<feature>servlet-3.1</feature>
Developing a feature that depends on this feature
If you are developing a feature that depends on the Java Servlets 3.1 feature, include the following item in the Subsystem-Content header in the feature manifest file for your new feature:
com.ibm.websphere.appserver.servlet-3.1; type="osgi.subsystem.feature"
Features that enable this feature
- adminCenter-1.0 - Admin Center
- apiDiscovery-1.0 - API Discovery 1.0
- appSecurity-1.0 - Application Security 1.0
- collectiveMember-1.0 - Collective Member
- httpWhiteboard-1.0 - OSGi Http Whiteboard
- jaspic-1.1 - Java Authentication SPI for Containers 1.1
- jaxrs-1.1 - Java RESTful Services 1.1
- jaxrs-2.0 - Java RESTful Services 2.0
- jaxrsClient-2.0 - Java RESTful Services Client 2.0
- jpa-2.0 - Java Persistence API 2.0
- jsf-2.0 - JavaServer Faces 2.0
- jsf-2.2 - JavaServer Faces 2.2
- jsp-2.2 - JavaServer Pages 2.2
- jsp-2.3 - JavaServer Pages 2.3
- jwt-1.0 - Json Web Token
- oauth-2.0 - OAuth
- openid-2.0 - OpenID
- openidConnectClient-1.0 - OpenID Connect Client
- openidConnectServer-1.0 - OpenID Connect Provider
- osgi.jpa-1.0 - OSGi Java Persistence API
- restConnector-1.0 - JMX REST Connector 1.0
- restConnector-2.0 - JMX REST Connector 2.0
- samlWeb-2.0 - SAML web single sign-on version 2.0
- scim-1.0 - System for Cross-domain Identity Management
- spnego-1.0 - Simple and Protected GSSAPI Negotiation Mechanism
- wab-1.0 - OSGi Web Application Bundles
- webCache-1.0 - Web Response Cache
- webProfile-7.0 - Java EE Web Profile 7.0
- websocket-1.0 - Java WebSocket 1.0
- websocket-1.1 - Java WebSocket 1.1
Standard API packages provided by this feature
- javax.servlet
- javax.servlet.annotation
- javax.servlet.descriptor
- javax.servlet.http
- javax.servlet.resources
IBM API packages provided by this feature
- com.ibm.websphere.servlet.container
- com.ibm.websphere.servlet.context
- com.ibm.websphere.servlet.error
- com.ibm.websphere.servlet.event
- com.ibm.websphere.servlet.session
- com.ibm.websphere.webcontainer
- com.ibm.wsspi.servlet.session
SPI packages provided by this feature
- com.ibm.websphere.servlet.filter
- com.ibm.websphere.servlet.request
- com.ibm.websphere.servlet.response
- com.ibm.websphere.webcontainer.async
- com.ibm.ws.webcontainer.extension
- com.ibm.ws.webcontainer.spiadapter.collaborator
- com.ibm.wsspi.webcontainer
- com.ibm.wsspi.webcontainer.collaborator
- com.ibm.wsspi.webcontainer.extension
- com.ibm.wsspi.webcontainer.filter
- com.ibm.wsspi.webcontainer.metadata
- com.ibm.wsspi.webcontainer.osgi.extension
- com.ibm.wsspi.webcontainer.servlet
- com.ibm.wsspi.webcontainer.webapp
Feature configuration elements
You can use the following elements in your server.xml file to configure the Java Servlets 3.1 feature:
- application
- applicationManager
- applicationMonitor
- channelfw
- classloading
- cors
- enterpriseApplication
- httpAccessLogging
- httpDispatcher
- httpEncoding
- httpEndpoint
- httpOptions
- httpProxyRedirect
- httpSession
- javaPermission
- library
- mimeTypes
- pluginConfiguration
- tcpOptions
- virtualHost
- webApplication
- webContainer