In spring boot application vary easy to set favicon icon. Here is steps for Spring boot set favicon icon.

Spring Boot looks for a favicon.ico in the configured static content locations and the root of the classpath (in that order). If such file is present, it is automatically used as the favicon of the application. (Spring Boot favicon.ico document)

 

Spring boot set favicon icon

Spring boot set favicon icon

Output

Spring boot set favicon icon - updated

Spring boot set favicon icon – updated

NOTE: AFTER UPDATING favicon.ico.OPEN YOUR WEB PAGE AND PRESS CTLR  + F5 

References:

Spring Boot favicon.ico document

Was this post helpful?
Let us know, if you liked the post. Only in this way, we can improve us.
Yes
No
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *