I am using Tomcat server to run my application deployed as WAR. The application does not serve static content or JSPs. Is there a way to disable the default servlet and the jsp servlet?
Never tried it, but it should be sufficient to disable all connectors: Edit conf/server.xml and remove all <Connector> entries (there should be one active HTML connector by default). Restart and check if the server still works as expected.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more