Spring Web MVC
Spring Web MVC 是构建在 Servlet API 上的原始 Web 框架,并且从一开始就包含在 Spring Framework 中。正式名称“Spring Web MVC”来自于其源模块的名称(https://github.com/spring-projects/spring-framework/tree/main/spring-webmvc[spring-webmvc
]),但更常称为“Spring MVC”。
Spring Web MVC is the original web framework built on the Servlet API and has been included
in the Spring Framework from the very beginning. The formal name, "Spring Web MVC,"
comes from the name of its source module
(spring-webmvc
),
but it is more commonly known as "Spring MVC".
在 Spring Web MVC 旁边,Spring Framework 5.0 引入了响应式堆栈 Web 框架,它的名称“Spring WebFlux”也基于其源模块(https://github.com/spring-projects/spring-framework/tree/main/spring-webflux[spring-webflux
])。本章介绍 Spring Web MVC。有关响应式堆栈 Web 应用程序,请参阅Web on Reactive Stack。
Parallel to Spring Web MVC, Spring Framework 5.0 introduced a reactive-stack web framework
whose name, "Spring WebFlux," is also based on its source module
(spring-webflux
).
This chapter covers Spring Web MVC. For reactive-stack web applications, see
Web on Reactive Stack.
有关基准信息以及与 Servlet 容器和 Jakarta EE 版本范围的兼容性,请参阅 Spring Framework Wiki。
For baseline information and compatibility with Servlet container and Jakarta EE version ranges, see the Spring Framework Wiki.