Explain spring mvc architecture.



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

Post New Answer

More Spring Framework Interview Questions

What is difference between singleton and prototype bean?

1 Answers  


What is context param in spring?

1 Answers  


What is the difference between spring and spring boot?

1 Answers  


What is wiring in spring?

1 Answers  


What is applicationcontextaware in spring?

1 Answers  


What are profiles in spring?

1 Answers  


What are the containers in spring?

1 Answers  


When to use dependency injections?

1 Answers  


How can you achieve internationalization using messagesource?

1 Answers  


How to validate if the bean was initialized using valid values?

1 Answers  


What is java spring used for?

1 Answers  


What is junit testing?

1 Answers  


Categories