标签:tomcat
到tomcat/conf/localhost/下新建**.xml,里面内容为
<Context path="/myAppName" reloadable="true" docBase="/我的站点目录" workDir="/我的站点目录"/>
tomcat改端口tomcat/conf/server.xml中查找
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
port值改为自定义端口号
标签:tomcat
原文地址:http://muxiangqiangwei.blog.51cto.com/3832230/1904230