打开localhost端口不是tomcat7端口问题
一、项目配置内容
tomcat插件在xml文件中配置
port配置端口名称,html打开时使用这个localhost端口地址
二、出现的问题
从target的config的xml文件可以看到,一切配置好了以后,进入web页面的方式是index.html,所以直接从index页面访问而不是从刚才修改的brand.html页面访问。
或者直接访问链接http://localhost:9101/admin/index.html,通过手敲直接访问,通过idea右上角的浏览器打开会发生使用默认web端口号的情况。
idea右上角打开:http://localhost:63342/xxx_parent_1008/xxx_manager_web/src/main/webapp/admin/index.html?_ijt=1uir9fiatc8i4o9ssdis01b2r3