Java资源分享网 - 专业的Java学习网站 学Java,上Java资源分享网
Apache Tomcat 8 Configuration Reference PDF 下载
发布于:2024-06-18 09:24:45
(假如点击没反应,多刷新两次就OK!)

Apache Tomcat 8 Configuration Reference  PDF 下载 图1

 

 

资料内容:

 

lt is NOT recommended to place<Context>elements directly in the server.xmlfile.This is because it makesmodifying the Context configuration more invasive since the main conf/server.xml file cannot be reloaded withoutrestarting Tomcat. Default Context elements (see below) will also overwrite the configuration of any <Context>elements placed directly in server.xml.To prevent this, the override attribute of the<Context> element defined inserver.xml should be set to true.

 

Individual context elements may be explicitly defined:

ln an individual fle at /META-INF/context.xml inside the application files. Optionally (based on the Host'scopyXML attribute) this may be copied to $CATALINA_BASE/conf/[enginename]/[ hostname]/ and renamed toapplication's base file name plus a ".xml" extension.

ln individual files(with a ".xml" extension) in the $CATALINA_BASE/conf/[enginename]/ [ hostname]/ directory.The context path and version will be derived from the base name of the file (the file name less the .xml

extension).This file will always take precedence over any context.xml file packaged in the web application'sMETA-INF directory.

. lnside a Host element in the main conf/server.xm1.

Default Context elements may be defined that apply to multiple web applications.Configuration for an individualweb application will override anything configured in one of these defaults. Any nested elements,e.g.<Resource>