1. Overview

In spring boot application very easy to set favicon icon. Here are 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)

2. Example

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 

3. References

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 *