Tomcat去除端口号及隐藏项目名

隐藏端口号

    打开server.xml 将8080端口改为80端口


隐藏项目名

   打开server.xml 在host中添加:

      

  

你可能感兴趣的:(Tomcat去除端口号及隐藏项目名)