mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '1.4.x' into 1.5.x
This commit is contained in:
commit
49828d9377
@ -1688,7 +1688,7 @@ The auto-configuration adds the following features on top of Spring's defaults:
|
||||
* Support for `HttpMessageConverters` (see below).
|
||||
* Automatic registration of `MessageCodesResolver` (see below).
|
||||
* Static `index.html` support.
|
||||
* Custom `Favicon` support.
|
||||
* Custom `Favicon` support (see below).
|
||||
* Automatic use of a `ConfigurableWebBindingInitializer` bean (see below).
|
||||
|
||||
If you want to keep Spring Boot MVC features, and
|
||||
@ -1887,6 +1887,14 @@ and in Spring Framework's {spring-reference}/#mvc-config-static-resources[refere
|
||||
|
||||
|
||||
|
||||
[[boot-features-spring-mvc-favicon]]
|
||||
==== Custom Favicon
|
||||
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.
|
||||
|
||||
|
||||
|
||||
[[boot-features-spring-mvc-web-binding-initializer]]
|
||||
==== ConfigurableWebBindingInitializer
|
||||
Spring MVC uses a `WebBindingInitializer` to initialize a `WebDataBinder` for a particular
|
||||
|
Loading…
Reference in New Issue
Block a user