From the course: Spring Web MVC 6
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Spring MVC request processing flow - Spring Tutorial
From the course: Spring Web MVC 6
Spring MVC request processing flow
- [Instructor] Let us take a look at a typical Spring MVC request processing flow. Let's say this is the browser. When you have an incoming request from the browser, it is intercepted first by the dispatcher servlet that comes from the Spring MVC Framework. Now, this is the front controller that I was talking about a while ago, and it is the star of the framework. The dispatcher servlet will intercept all the incoming requests from the view and then it works with handler mapping. Handler mapping is the one which maps the incoming URLs to the specific handlers that you have in your application. So the dispatcher servlet works with handler mapping, and then the handler mapping delivers a handler execution chain. This chain consists of a list of handlers and interceptors so handlers are the controllers that you write for your incoming requests and interceptors are the ones that you configure for pre and post-request…
Contents
-
-
-
Overview of Spring MVC2m 32s
-
(Locked)
Why use Spring MVC?2m 33s
-
(Locked)
Spring MVC request processing flow2m 39s
-
(Locked)
Project development overview3m 8s
-
(Locked)
Use Spring Boot to create an MVC application6m 7s
-
(Locked)
Overview of Thymeleaf2m 56s
-
(Locked)
Set up the Collectibles app7m 10s
-
(Locked)
Set up the home page flow7m 54s
-
(Locked)
Fragment the home page into modular components6m 10s
-
(Locked)
Link HTML pages from the home page9m 8s
-
(Locked)
ViewResolvers3m 3s
-
-
-
-
-
-
-