Explain spring mvc architecture.
Answer / Aman Tyagi
Spring MVC follows a model-view-controller (MVC) architectural pattern. It consists of DispatcherServlet, HandlerMapping, HandlerAdapter, Controller, Model, View, and Request to Response cycle. The DispatcherServlet dispatches the request to an appropriate handler based on the mapping. The controller processes the request and returns a model object, which is passed to the view for rendering.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between singleton and prototype bean?
What is context param in spring?
What is the difference between spring and spring boot?
What is wiring in spring?
What is applicationcontextaware in spring?
What are profiles in spring?
What are the containers in spring?
When to use dependency injections?
How can you achieve internationalization using messagesource?
How to validate if the bean was initialized using valid values?
What is java spring used for?
What is junit testing?