Fix typos in Web MVC chapter

master
Sam Brannen 9 years ago
parent 333cfeb6f0
commit 6a4cc7e681
  1. 4
      src/asciidoc/web-mvc.adoc

@ -4695,7 +4695,7 @@ plugged into Spring MVC as a global validator as described next.
By default use of `@EnableWebMvc` or `<mvc:annotation-driven>` automatically registers Bean By default use of `@EnableWebMvc` or `<mvc:annotation-driven>` automatically registers Bean
Validation support in Spring MVC through the `LocalValidatorFactoryBean` when a Bean Validation Validation support in Spring MVC through the `LocalValidatorFactoryBean` when a Bean Validation
provider is such as Hibernate Validator is detected on the classpath. provider such as Hibernate Validator is detected on the classpath.
[NOTE] [NOTE]
==== ====
@ -4762,7 +4762,7 @@ To combine global with local validation, simply add one or more local validator(
} }
---- ----
With this minimal configuration anytime an `@Valid` or `@Validated` method argument is encountered, it With this minimal configuration any time an `@Valid` or `@Validated` method argument is encountered, it
will be validated by the configured validators. Any validation violations will automatically will be validated by the configured validators. Any validation violations will automatically
be exposed as errors in the `BindingResult` accessible as a method argument and also renderable be exposed as errors in the `BindingResult` accessible as a method argument and also renderable
in Spring MVC HTML views. in Spring MVC HTML views.

Loading…
Cancel
Save