Tomcat 配置项目发布
<?xml version='1.0' encoding='gbk'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--reloadable="true" 改成"false" 就可以改代码不需重新启动 path="/"或者path="" 写上斜杠表述项目的根目录,不写上直接访问项目不须加上项目名-->
<!--下面的代码可以放到tomcat文件中的server.xml中也可以
<Context path="/" crossContext="true" docBase="E:\MyEclipse 8.5\SpringIOC\WebRoot" reloadable="false">
<!--<Context path="/" crossContext="true" docBase="E:\hh\trunk\WebRoot" reloadable="false">-->
<!--<Context path="/" crossContext="true" docBase="E:\Java\gg\WebRoot" reloadable="false">-->
</Context>
2.下面的附件解压直接放到C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf 配置文件夹中去即可
上一篇: Last Working Day
推荐阅读
-
全面了解Python环境配置及项目建立
-
tomcat配置详解web(简述tomcat工作原理)
-
使用vue-cli3 创建vue项目并配置VS Code 自动代码格式化 vue语法高亮问题
-
解读ASP.NET 5 & MVC6系列教程(3):项目发布与部署
-
Vue CLI3创建项目部署到Tomcat 使用ngrok映射到外网
-
详解VSCode配置启动Vue项目
-
Maven项目中读取src/main/resources目录下的配置文件的方法
-
mac配置tomcat教程(tomcat启动遇到问题)
-
vue.js 2.*项目环境搭建、运行、打包发布的详细步骤
-
12英寸Retina MacBook正式发布 配置更强电池更耐用