Tomcat 安装

Tomcat

解压版:

1.先将bin目录下的shutdown.bat停止tomcat

2.war包放入webapps文件夹下

3.在启动bin目录下的Startup.bat 启动tomcat

4.查看conf文件夹下的sever.xml 查看本条中的端号Version:1.0 StartHTML:000000210 EndHTML:000001049 StartFragment:000000295 EndFragment:000001012 StartSelection:000000295 EndSelection:000001012 SourceURL:file:///E:/apache-tomcat-8.0.36/conf/server.xml <Connector port="8080" redirectPort="8443" connectionTimeout="20000" protocol="HTTP/1.1"/>

5.本地访问时localhost:8080/+war包名

posted @ 2018-04-24 11:23  张飞博客  阅读(103)  评论(0编辑  收藏  举报