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

Java知识分享网

Java1234官方群25:java1234官方群17
Java1234官方群25:838462530
        
SpringBoot+SpringSecurity+Vue+ElementPlus权限系统实战课程 震撼发布        

最新Java全栈就业实战课程(免费)

springcloud分布式电商秒杀实战课程

IDEA永久激活

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

锋哥开始收Java学员啦!

Python学习路线图

锋哥开始收Java学员啦!
当前位置: 主页 > 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>


 


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

锋哥公众号


锋哥微信


关注公众号
【Java资料站】
回复 666
获取 
66套java
从菜鸡到大神
项目实战课程

锋哥推荐