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 配置文件夹中去即可
下一篇: js中获取鼠标位置及获取窗口的宽度
推荐阅读
-
spring boot实战之内嵌容器tomcat配置
-
win2000server IIS和tomcat5多站点配置
-
使用vue-cli3 创建vue项目并配置VS Code 自动代码格式化 vue语法高亮问题
-
解读ASP.NET 5 & MVC6系列教程(3):项目发布与部署
-
Vue CLI3创建项目部署到Tomcat 使用ngrok映射到外网
-
详解VSCode配置启动Vue项目
-
12英寸Retina MacBook正式发布 配置更强电池更耐用
-
使用vue-cli3新建一个项目并写好基本配置(推荐)
-
全面了解Python环境配置及项目建立
-
Tomcat5+Mssql server 2000数据库连接池配置之旅