Skip to content

Commit c56e7f7

Browse files
committed
Typo fixes
1 parent 0e35475 commit c56e7f7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/asciidoc/web-mvc.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3207,11 +3207,11 @@ Spring MVC has two main abstractions in support of flash attributes. `FlashMap`
32073207
to hold flash attributes while `FlashMapManager` is used to store, retrieve, and manage
32083208
`FlashMap` instances.
32093209

3210-
Flash attribute support is always "on" and does not need to enabled explicitly although
3211-
if not used, it never causes HTTP session creation. On each request there is an "input"
3212-
`FlashMap` with attributes passed from a previous request (if any) and an "output"
3213-
`FlashMap` with attributes to save for a subsequent request. Both `FlashMap` instances
3214-
are accessible from anywhere in Spring MVC through static methods in
3210+
Flash attribute support is always "on" and does not need to be enabled explicitly
3211+
although if not used, it never causes HTTP session creation. On each request there is
3212+
an "input" `FlashMap` with attributes passed from a previous request (if any) and an
3213+
"output" `FlashMap` with attributes to save for a subsequent request. Both `FlashMap`
3214+
instances are accessible from anywhere in Spring MVC through static methods in
32153215
`RequestContextUtils`.
32163216

32173217
Annotated controllers typically do not need to work with `FlashMap` directly. Instead an

src/asciidoc/web-view.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ when developing with JSPs are the `InternalResourceViewResolver` and the
699699
<property name="basename" value="views"/>
700700
</bean>
701701
702-
# And a sample properties file is uses (views.properties in WEB-INF/classes):
702+
# And a sample properties file is used (views.properties in WEB-INF/classes):
703703
welcome.(class)=org.springframework.web.servlet.view.JstlView
704704
welcome.url=/WEB-INF/jsp/welcome.jsp
705705
@@ -721,17 +721,17 @@ can mix different types of views using only one resolver.
721721
</bean>
722722
----
723723

724-
The `InternalResourceBundleViewResolver` can be configured for using JSPs as described
725-
above. As a best practice, we strongly encourage placing your JSP files in a directory
726-
under the `'WEB-INF'` directory, so there can be no direct access by clients.
724+
The `InternalResourceViewResolver` can be configured for using JSPs as described above.
725+
As a best practice, we strongly encourage placing your JSP files in a directory under
726+
the `'WEB-INF'` directory, so there can be no direct access by clients.
727727

728728

729729

730730
[[view-jsp-jstl]]
731731
=== 'Plain-old' JSPs versus JSTL
732732

733-
When using the Java Standard Tag Library you must use a special view class, the
734-
`JstlView`, as JSTL needs some preparation before things such as the I18N features will
733+
When using the JSP Standard Tag Library (JSTL) you must use a special view class, the
734+
`JstlView`, as JSTL needs some preparation before things such as the I18N features can
735735
work.
736736

737737

@@ -1438,7 +1438,7 @@ The HTML would look like:
14381438
A key principle of REST is the use of the Uniform Interface. This means that all
14391439
resources (URLs) can be manipulated using the same four HTTP methods: GET, PUT, POST,
14401440
and DELETE. For each method, the HTTP specification defines the exact semantics. For
1441-
instance, a GET should always be a safe operation, meaning that is has no side effects,
1441+
instance, a GET should always be a safe operation, meaning that it has no side effects,
14421442
and a PUT or DELETE should be idempotent, meaning that you can repeat these operations
14431443
over and over again, but the end result should be the same. While HTTP defines these
14441444
four methods, HTML only supports two: GET and POST. Fortunately, there are two possible

0 commit comments

Comments
 (0)