Browse Source

Polish doc

Closes gh-1108
pull/1405/head
fisache 10 years ago committed by Stephane Nicoll
parent
commit
942ead75e2
  1. 2
      spring-web/src/main/java/org/springframework/web/context/request/async/StandardServletAsyncWebRequest.java
  2. 8
      src/asciidoc/web-mvc.adoc
  3. 1
      src/asciidoc/web-view.adoc

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

@ -34,7 +34,7 @@ import org.springframework.web.context.request.ServletWebRequest; @@ -34,7 +34,7 @@ import org.springframework.web.context.request.ServletWebRequest;
*
* <p>The servlet and all filters involved in an async request must have async
* support enabled using the Servlet API or by adding an
* {@code <async-support>true</async-support>} element to servlet and filter
* {@code <async-supported>true</async-supported>} element to servlet and filter
* declarations in {@code web.xml}.
*
* @author Rossen Stoyanchev

8
src/asciidoc/web-mvc.adoc

@ -2541,7 +2541,7 @@ For applications configured with a `web.xml` be sure to update to version 3.0: @@ -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
`<async-supported>true</async-supported>` web.xml sub-element. Additionally
`<async-supported>true</async-supported>` 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: @@ -2703,7 +2703,7 @@ the example below:
<property name="openingTime" value="9"/>
<property name="closingTime" value="18"/>
</bean>
<beans>
</beans>
----
[source,java,indent=0]
@ -3331,7 +3331,7 @@ Spring MVC also provides a mechanism for building links to controller methods. F @@ -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`. @@ -3502,7 +3502,7 @@ maximum age. Find below an example of defining a `CookieLocaleResolver`.
<property name="cookieName" value="clientlanguage"/>
<!-- in seconds. If set to -1, the cookie is not persisted (deleted when browser shuts down) -->
<property name="cookieMaxAge" value="100000">
<property name="cookieMaxAge" value="100000"/>
</bean>
----

1
src/asciidoc/web-view.adoc

@ -1387,6 +1387,7 @@ The HTML would look like: @@ -1387,6 +1387,7 @@ The HTML would look like:
<input type="submit" value="Save Changes"/>
</td>
</tr>
</table>
</form>
----

Loading…
Cancel
Save