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"

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


Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: Monday, 5 December 2016
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-libcore-mp&topic=rwlp_feature_servlet-3.1
File name: rwlp_feature_servlet-3.1.html