Skip to content

Commit 9aa35a8

Browse files
fisachesnicoll
authored andcommitted
Polish doc
Closes gh-1108
1 parent 3e47fcc commit 9aa35a8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* <p>The servlet and all filters involved in an async request must have async
3636
* support enabled using the Servlet API or by adding an
37-
* {@code <async-support>true</async-support>} element to servlet and filter
37+
* {@code <async-supported>true</async-supported>} element to servlet and filter
3838
* declarations in {@code web.xml}.
3939
*
4040
* @author Rossen Stoyanchev

src/asciidoc/web-mvc.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@ For applications configured with a `web.xml` be sure to update to version 3.0:
25412541
----
25422542

25432543
Asynchronous support must be enabled on the `DispatcherServlet` through the
2544-
`<async-supported>true</async-supported>` web.xml sub-element. Additionally
2544+
`<async-supported>true</async-supported>` sub-element in `web.xml`. Additionally
25452545
any `Filter` that participates in asyncrequest processing must be configured
25462546
to support the ASYNC dispatcher type. It should be safe to enable the ASYNC
25472547
dispatcher type for all filters provided with the Spring Framework since they
@@ -2703,7 +2703,7 @@ the example below:
27032703
<property name="openingTime" value="9"/>
27042704
<property name="closingTime" value="18"/>
27052705
</bean>
2706-
<beans>
2706+
</beans>
27072707
----
27082708

27092709
[source,java,indent=0]
@@ -3331,7 +3331,7 @@ Spring MVC also provides a mechanism for building links to controller methods. F
33313331
public String getBooking(@PathVariable Long booking) {
33323332
33333333
// ...
3334-
3334+
}
33353335
}
33363336
----
33373337

@@ -3502,7 +3502,7 @@ maximum age. Find below an example of defining a `CookieLocaleResolver`.
35023502
<property name="cookieName" value="clientlanguage"/>
35033503
35043504
<!-- in seconds. If set to -1, the cookie is not persisted (deleted when browser shuts down) -->
3505-
<property name="cookieMaxAge" value="100000">
3505+
<property name="cookieMaxAge" value="100000"/>
35063506
35073507
</bean>
35083508
----

src/asciidoc/web-view.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,7 @@ The HTML would look like:
12551255
<input type="submit" value="Save Changes"/>
12561256
</td>
12571257
</tr>
1258+
</table>
12581259
</form>
12591260
----
12601261

0 commit comments

Comments
 (0)