Java Servlets 4.0
This feature enables support for HTTP Servlets written to the Java Servlet 4.0 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-4.0
If you are installing into 188.8.131.52 or earlier and the feature supports that version, use the featureManager command, for example:
bin/featureManager install servlet-4.0 --when-file-exists=ignore
To use the feature at runtime add the following to your server.xml file