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.
Command Line Install
To install the feature from the command line, type:
bin/installUtility install servlet-3.1
If you are installing into 126.96.36.199 or earlier and the feature supports that version, use the featureManager command, for example:
bin/featureManager install servlet-3.1 --when-file-exists=ignore
To use the feature at runtime add the following to your server.xml file