2015-03-03 18:38:01 +08:00
|
|
|
[[spring-web]]
|
2017-08-23 22:00:26 +08:00
|
|
|
= Web
|
2017-01-05 00:51:58 +08:00
|
|
|
:doc-root: https://docs.spring.io
|
|
|
|
:api-spring-framework: {doc-root}/spring-framework/docs/{spring-version}/javadoc-api/org/springframework
|
2017-03-29 20:20:12 +08:00
|
|
|
:toc: left
|
|
|
|
:toclevels: 2
|
2015-03-03 18:38:01 +08:00
|
|
|
|
2017-08-23 22:00:26 +08:00
|
|
|
This part of the documentation covers support for web applications designed to run on a
|
|
|
|
traditional Servlet stack (Servlet API + Servlet container).
|
2015-03-03 18:38:01 +08:00
|
|
|
|
2017-08-23 22:00:26 +08:00
|
|
|
Chapters cover the Servlet-based <<mvc,Spring MVC>> web framework including <<mvc-view,Views>>,
|
|
|
|
<<mvc-cors,CORS>>, and <<websocket,WebSocket>> support.
|
2015-03-03 18:38:01 +08:00
|
|
|
|
2017-08-23 22:00:26 +08:00
|
|
|
Note that as of Spring Framework 5.0 web applications can also run on a
|
2017-09-04 13:40:18 +08:00
|
|
|
<<reactive-web.adoc#spring-reactive-web, reactive web stack>> (Reactive Streams API + non-blocking runtime).
|
2015-03-03 18:38:01 +08:00
|
|
|
|
2017-08-23 22:00:26 +08:00
|
|
|
include::web/webmvc.adoc[leveloffset=+1]
|
2016-07-25 23:44:12 +08:00
|
|
|
|
2017-08-23 22:00:26 +08:00
|
|
|
include::web/webmvc-view.adoc[leveloffset=+1]
|
|
|
|
|
|
|
|
include::web/webmvc-cors.adoc[leveloffset=+1]
|
|
|
|
|
|
|
|
include::web/websocket.adoc[leveloffset=+1]
|
2016-07-26 06:33:43 +08:00
|
|
|
|
2017-08-17 18:45:11 +08:00
|
|
|
|