![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
文章平均质量分 69
w19980426
喜欢学习与分享
展开
-
tomcat:域名直接访问项目主页的配置
配置如下: <Host name="www.icoolxue.com" appBase="webapps/tutorial" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="tutorial" reloadable=原创 2018-08-14 19:50:57 · 1896 阅读 · 0 评论 -
Lunix下tomcat通过配置server.xml配置文件实现运行非webapps目录下的项目
1、首先普及一个观点:tomcat对于webapps下的项目会自动部署,不需要配置server.xml,但对于非webapps目录下的项目则需要手动配置server.xml文件,例如在搭建nginx服务器均衡负载时,往往不会把项目放在webapps目录下。 2、server.xml配置详解: <?xml version="1.0" encoding="UTF-8"?> &l...原创 2018-10-14 14:56:03 · 500 阅读 · 0 评论