Skip to main content

DispatcherServlet

Learn DispatcherServlet (Spring MVC Fundamentals, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes DispatcherServlet is the central servlet of Spring MVC. It receives each HTTP request, finds the matching controller method and builds the response. Entry point : in Spring Boot it is registered automatically and mapped to / ; you never write it yourself. Helpers : it coordinates HandlerMapping , HandlerAdapter , ViewResolver and exception resolvers; it does the routing, they do the work.

More lessons in Spring MVC Fundamentals