How and where can I change it in Spring MVC project?
Put the favicon.ico
in the root of your webapp (the webapp folder, like this ).
Out of habit in SpringMVC, I also put the following mapping.
<mvc:resources location="/favicon.ico" mapping="/favicon.ico" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.