Skip to main content

Mini Project: Following One Request Through Spring MVC

Learn Mini Project: Following One Request Through Spring MVC (Spring MVC Fundamentals, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Mini Real-Time Project: Following One Request Through Spring MVC Problem A new developer asks "what actually happens between the browser request and the HTML on the screen?". Trace one request through every MVC step. Requirements Create a controller that puts data in the Model and returns a view name. Add an interceptor to show when the request enters and leaves the framework. Configure a view resolver that maps the view name to a page. Run a request and print each step in order, plus the final view and model. Concepts Used Model-View-Controller DispatcherServlet HandlerMapping ViewResolver...

More lessons in Spring MVC Fundamentals