When using Spring Boot, a green leaf icon is displayed on the browser.
At this point, what should I do if I need to replace it with the icon of my own website?
solution:
In the static directory, create a new images folder, and in the images folder, put the icon of your own website, named favicon.ico. (Of course, if it is a jsp page, it is also feasible to put an icon in the webapp directory) Then, in each page, refer to the code:
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
http://blog.csdn.net/wo541075754/article/details/52540129