host标签内添加下面的内容:

<Context  path="/upload"  docBase="c:file\img\head\"  reloadable="true"></Context>

例如: 

tomcat映射本地磁盘路径

访问直接通过  域名+/upload/+文件名即可

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-09-11
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-08-16
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2021-05-27
  • 2022-12-23
  • 2021-10-26
相关资源
相似解决方案