1、  SpringBoot从classpath/static的目录

    注意目录名称必须是static

Java框架_SpringBoot访问静态资源

2、  ServletContext根目录下

在src/main/webapp  目录名称必须要webapp

Java框架_SpringBoot访问静态资源

相关文章:

  • 2021-11-20
  • 2021-11-20
  • 2021-11-15
  • 2021-08-01
  • 2022-01-02
  • 2021-10-26
猜你喜欢
  • 2021-07-29
  • 2022-02-06
  • 2022-12-23
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
相关资源
相似解决方案