Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

        
AI编程,程序员挑战年入30~100万高级指南 - 职业规划
SpringBoot+SpringSecurity+Vue权限系统高级实战课程        

IDEA永久激活

Java微信小程序电商实战课程(SpringBoot+VUe)

     

AI人工智能学习大礼包

     

PyCharm永久激活

66套java实战课程无套路领取

     

Cursor+Claude AI编程 1天快速上手视频教程

     
当前位置: 主页 > Java文档 > Java基础相关 >

Apache Tomcat 8 Configuration Reference PDF 下载


时间:2024-06-18 09:24来源:http://www.java1234.com 作者:转载  侵权举报
Apache Tomcat 8 Configuration Reference
失效链接处理
Apache Tomcat 8 Configuration Reference  PDF 下载
 
 
 
相关截图:
 



主要内容:

 

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>


 


------分隔线----------------------------


锋哥推荐