Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
aa3f0556
Commit
aa3f0556
authored
Mar 26, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup asciidoc formatting and links
parent
bae26e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+7
-7
No files found.
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
aa3f0556
...
...
@@ -794,13 +794,13 @@ The auto-configuration adds the following features on top of Spring's defaults:
* Static `index.html` support.
* Custom `Favicon` support.
If you want to take complete control of Spring MVC
you can add your
own `@Configuration` annotated with `@EnableWebMvc`. If you want the
Boot features, and just want to add additional [normal MVC
configuration](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html),
like interceptors, formatters, view controllers etc, you can simply
add your own `@Bean` of type `WebMvcConfigurerAdapter` (like normal
MVC), but don't forget *not* to add `@EnableWebMvc`.
If you want to take complete control of Spring MVC
, you can add your own `@Configuration`
annotated with `@EnableWebMvc`. If you want to keep Spring Boot MVC features, and
you just want to add additional {spring-reference}#mvc[MVC configuration] (interceptors,
formatters, view controllers etc.) you can add your own `@Bean` of type
`WebMvcConfigurerAdapter`, but *without* `@EnableWebMvc`.
[[boot-features-spring-mvc-message-converters]]
==== HttpMessageConverters
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment