springBoot貌似很流行,虽然现在公司里面没有,但是也得自己学习一下,不能落伍了不是

这次主要是通过springBoot 搭建web服务访问自定义html 页面

问题:

通过html页面加载图片的问题

项目结构:springBoot学习记录

这样就可以访问图片了,不用加static路径,springboot自定识别static,但是需要加:

springBoot学习记录

 

springBoot学习记录

访问成功!!!,做个笔记,黑和你

相关文章:

  • 2021-08-29
  • 2022-12-23
  • 2021-05-05
  • 2021-09-22
  • 2022-01-08
  • 2022-01-21
  • 2021-12-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-05-09
  • 2021-04-18
  • 2021-10-24
  • 2022-12-23
相关资源
相似解决方案