How to set Spring boot favicon image

By |2018-11-11T11:18:34+05:30February 19th, 2018|Spring Boot|

In this tutorials I am going to show how to set Spring boot favicon .ico in Spring boot application.

Spring boot favicon :

In spring boot it is very easy to set favicon.ico, here I am giving simple to steps to achieve this.

Step 1 : Generate your favicon.ico file, if you do not have here.

Step 2 : And place the created favicon.ico file under class path location. Spring boot checks for the default/classpath location to set the favicon.ico file.

We should place the favicon.ico file in appropriate location like below resources/static/.


Spring Boot Favicon


Step 3 : Run the application

Refresh web page (Ctrl+f5)

Spring Boot Favicon output

Reference :

spring boot favicon docs

Happy Learning 🙂

About the Author:

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,

Leave A Comment