Tagged articles
11 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 3, 2023 · Backend Development

Master Custom HandlerMapping in Spring Boot: Header‑Based Routing with getCustomMethodCondition

This tutorial explains how to extend Spring MVC's HandlerMapping by implementing a custom RequestCondition that matches requests based on an x-token header and a custom @AKF annotation, covering code implementation, configuration, testing, and the underlying request‑matching mechanism.

Custom RequestConditionHandlerMappingHeader Authentication
0 likes · 7 min read
Master Custom HandlerMapping in Spring Boot: Header‑Based Routing with getCustomMethodCondition
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 8, 2023 · Backend Development

How Spring MVC Processes Requests: Core Components and Controller Variants

This article explains how Spring MVC handles incoming requests by detailing each core component—from DispatcherServlet to ViewResolver—and demonstrates various controller definitions, including @RestController, HttpRequestHandler, custom Controller, and servlet-based approaches, with code examples and configuration tips.

ControllerDispatcherServletHandlerMapping
0 likes · 5 min read
How Spring MVC Processes Requests: Core Components and Controller Variants
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 17, 2023 · Backend Development

How Spring’s DispatcherServlet Handles Requests: A Deep Dive into the Dispatch Process

This article explains how Spring’s DispatcherServlet processes incoming HTTP requests by locating the appropriate HandlerMapping, selecting a HandlerAdapter, invoking pre‑ and post‑handle interceptors, executing the controller method, and finally rendering the response or handling errors, with detailed code examples.

HandlerAdapterHandlerMappingdispatcher-servlet
0 likes · 12 min read
How Spring’s DispatcherServlet Handles Requests: A Deep Dive into the Dispatch Process
YunZhu Net Technology Team
YunZhu Net Technology Team
Nov 12, 2021 · Backend Development

Understanding How Spring MVC DispatcherServlet Registers Controllers and Dispatches Requests via HandlerMapping

This article explains, using servlet source code as a starting point, how Spring MVC registers @RequestMapping‑annotated controllers into RequestMappingHandlerMapping during container initialization and how the DispatcherServlet processes incoming HTTP requests by locating the appropriate HandlerMethod through a series of handler mappings and interceptor chains.

DispatcherServletHandlerMappingJava
0 likes · 17 min read
Understanding How Spring MVC DispatcherServlet Registers Controllers and Dispatches Requests via HandlerMapping
Java Interview Crash Guide
Java Interview Crash Guide
Oct 3, 2021 · Backend Development

How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet

This article explains how Spring MVC evolved from basic Servlets to a front‑controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, and ViewResolver in streamlining request handling, business logic separation, and view rendering for modern Java web applications.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 18 min read
How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet
Top Architect
Top Architect
May 14, 2021 · Backend Development

Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling

This article explains how Spring MVC evolved from basic Servlets to a sophisticated two‑level controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, Handler, ModelAndView, ViewResolver, and View, while showing configuration examples and code snippets.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 17 min read
Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling
Java Interview Crash Guide
Java Interview Crash Guide
Apr 29, 2021 · Backend Development

How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet

This article walks through the evolution from traditional Servlets to Spring MVC's DispatcherServlet, explaining how each component—Servlet, BaseServlet, DispatcherServlet, HandlerMapping, HandlerInterceptor, HandlerExecutionChain, ModelAndView, ViewResolver, and View—contributes to a cleaner, more modular server‑side architecture.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 17 min read
How Spring MVC Simplifies Server‑Side Development: From Servlets to DispatcherServlet
Selected Java Interview Questions
Selected Java Interview Questions
Apr 29, 2021 · Backend Development

Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling

This article explains how Spring MVC evolved from basic Servlets to a two‑level controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, ViewResolver and View, and shows configuration examples that simplify server‑side development in Java web applications.

Backend DevelopmentDispatcherServletHandlerMapping
0 likes · 16 min read
Understanding Spring MVC: From Servlets to DispatcherServlet and Request Handling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 18, 2021 · Backend Development

Inside SpringBoot 2.2.6 DispatcherServlet: From doDispatch to Response Handling

This article walks through the complete request processing flow of SpringBoot 2.2.6's DispatcherServlet, detailing how it obtains the HandlerExecutionChain, resolves the appropriate HandlerMethod via RequestMappingHandlerMapping, selects a HandlerAdapter, executes interceptors, invokes the controller method, and finally processes the response with converters and advice.

DispatcherServletHandlerAdapterHandlerMapping
0 likes · 14 min read
Inside SpringBoot 2.2.6 DispatcherServlet: From doDispatch to Response Handling
Selected Java Interview Questions
Selected Java Interview Questions
Dec 30, 2020 · Backend Development

Implementing Transparent RPC over Spring MVC: From REST to RPC Programming Model

The article explains how to replace a traditional Spring MVC‑based REST RPC framework with a transparent RPC model by extending DispatcherServlet, HandlerMapping, and HandlerAdapter, providing implicit service contracts, simplified client interfaces, and code examples for registration and request handling.

BackendHandlerMappingJava
0 likes · 16 min read
Implementing Transparent RPC over Spring MVC: From REST to RPC Programming Model