![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
wangfei111g
这个作者很懒,什么都没留下…
展开
-
同一个tomcat部署多个应用
目前仅记录使用成功的一种方式:可参见https://blog.csdn.net/sunshinegyan/article/details/78540054?locationNum=3&fps=1。启动两个应用的server.xml文件内容如下:<?xml version='1.0' encoding='utf-8'?><!-- Licensed to the Apach...转载 2018-07-12 09:51:12 · 1309 阅读 · 0 评论 -
tomcat部署的应用url访问方式
tomcat启动应用时,url要加webapp下面的项目名(即文件夹名字),不过如果项目名是ROOT,则url不用加(是ROOT时不加是tomcat的规范)。比如项目是test,http://127.0.0.1:8080/url是无法访问的,而http://127.0.0.1:8080/test/url则是可以访问的。项目名是test,wget http://127.0.0.1:8080/url ...转载 2018-07-12 10:28:12 · 8381 阅读 · 0 评论