配置service.xml文件,在host里面添加 :doBase是你的目录名字

<Context docBase="sh" path="/" reloadable="false" source="org.eclipse.jst.jee.server:sh"/>   如图:tomcat启动访问指定目录

相关文章:

  • 2022-02-07
  • 2021-07-12
  • 2021-09-08
  • 2021-10-11
  • 2021-07-13
  • 2021-11-10
  • 2021-04-22
  • 2021-08-09
猜你喜欢
  • 2022-12-23
  • 2021-09-13
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-04
相关资源
相似解决方案