配置tomcat ip+端口映射項目名

在tomcat/conf/server.xml的<Host name="localhost"  appBase="webapps"  unpackWARs="true" autoDeploy="true">標籤中添加

<Context path="" docBase="項目名" debug="0" reloadable="true" />

如:

<Host name="localhost"  appBase="webapps"  unpackWARs="true" autoDeploy="true">

<Context path="" docBase="helloWord" debug="0" reloadable="true" />

<Host>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章