From 9aa35a8b5f65185e9d79d063e606127e9b9f64f0 Mon Sep 17 00:00:00 2001 From: fisache Date: Wed, 13 Jul 2016 03:54:38 +0900 Subject: [PATCH] Polish doc Closes gh-1108 --- .../request/async/StandardServletAsyncWebRequest.java | 2 +- src/asciidoc/web-mvc.adoc | 8 ++++---- src/asciidoc/web-view.adoc | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java b/spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java index c00b6ad280f..841ebd53cc3 100644 --- a/spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java +++ b/spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java @@ -34,7 +34,7 @@ import org.springframework.web.context.request.ServletWebRequest; * *

The servlet and all filters involved in an async request must have async * support enabled using the Servlet API or by adding an - * {@code true} element to servlet and filter + * {@code true} element to servlet and filter * declarations in {@code web.xml}. * * @author Rossen Stoyanchev diff --git a/src/asciidoc/web-mvc.adoc b/src/asciidoc/web-mvc.adoc index 2b42dcfca16..02c21431546 100644 --- a/src/asciidoc/web-mvc.adoc +++ b/src/asciidoc/web-mvc.adoc @@ -2541,7 +2541,7 @@ For applications configured with a `web.xml` be sure to update to version 3.0: ---- Asynchronous support must be enabled on the `DispatcherServlet` through the -`true` web.xml sub-element. Additionally +`true` sub-element in `web.xml`. Additionally any `Filter` that participates in asyncrequest processing must be configured to support the ASYNC dispatcher type. It should be safe to enable the ASYNC dispatcher type for all filters provided with the Spring Framework since they @@ -2703,7 +2703,7 @@ the example below: - + ---- [source,java,indent=0] @@ -3331,7 +3331,7 @@ Spring MVC also provides a mechanism for building links to controller methods. F public String getBooking(@PathVariable Long booking) { // ... - + } } ---- @@ -3502,7 +3502,7 @@ maximum age. Find below an example of defining a `CookieLocaleResolver`. - + ---- diff --git a/src/asciidoc/web-view.adoc b/src/asciidoc/web-view.adoc index e1e27134c0a..a52bb9352c3 100644 --- a/src/asciidoc/web-view.adoc +++ b/src/asciidoc/web-view.adoc @@ -1255,6 +1255,7 @@ The HTML would look like: + ----