Inserting an image from local directory in thymeleaf spring framework (with maven)

前端 未结 6 1549
北荒
北荒 2020-12-09 17:19

I have developed a project using this link: https://spring.io/guides/gs/serving-web-content/ I used maven to develop above project.

I have two html files under this.

6条回答
  •  孤街浪徒
    2020-12-09 17:56

    I have used bellow like..

    My image path is like bellow..

    I have used bellow code for loading image

     
    

    It is working fine for me.

提交回复
热议问题