【问题标题】:Is it possible to host one webapp on 1 port and another webapp on another port in Apache tomcat?是否可以在 Apache tomcat 的 1 个端口上托管 webapp,而在另一个端口上托管其他 webapp?
【发布时间】:2012-12-28 12:43:16
【问题描述】:

我在jsp中有2个webapp,一个是公共使用的,一个是本地使用的。

是否可以在 Apache tomcat 的 1 个端口上托管一个 webapp,而在另一个端口上托管另一个 webapp? 我在 server.xml 文件的连接器中看到了 appBase,它是做什么的?

【问题讨论】:

    标签: tomcat


    【解决方案1】:

    你应该多看看 stackoverflow。

    我已经找到了,它可能对你有帮助

    How to run different apps on single Tomcat instance behind different ports?

    【讨论】:

      猜你喜欢
      • 2020-12-22
      • 2020-06-27
      • 2021-01-15
      • 1970-01-01
      • 2019-06-16
      • 1970-01-01
      • 1970-01-01
      • 2017-04-25
      • 1970-01-01
      相关资源
      最近更新 更多