conf/web.xml中写道:
This document defines default values for *all* web applications loaded into this instance of Tomcat.
As each application is deployed, this file is processed, followed by the "/WEB-INF/web.xml" deployment descriptor from your own applications.
WARNING: Do not configure application-specific resources here! They should go in the "/WEB-INF/web.xml" file in your application.
此文档定义了加载到此Tomcat实例的*所有*web应用程序默认值。
在部署每个应用程序时,都会处理此文件,然后是来自您自己的应用程序的部署描述“/WEB-INF”/web.xml“。
警告:不要在此处配置特定于应用程序的资源!他们应该进入应用程序中的“/WEB-INF”/web.xml“文件。