1:在server.xml 里
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->将两处8080更改为80
2:<Context path="" docBase="rpa" debug="0" reloadable="true"/>
在server.xml 里,<host>...</host>的标签之间添加<Context path="" docBase="webapps下的项目名" debug="0"/>
重新启动tomcat。
3:首页index.html应在项目子目录下。