Spring MVC What is spring mvc ? 1.Spring mvc is a model view controller design pattern which contains a library within the Spring framework that simplifies handling HTTP requests and responses . 2.Model contails data, view contains ui (html, jsp etc) files, controller is a class which controls and redirect requests. why we use spring mvc ? Separate roles - The Spring MVC separates each role, where the model object, controller, command object, view resolver, DispatcherServlet, validator, etc. can be fulfilled by a specialized object. Powerful Configuration - It provides a robust configuration for both framework and application classes that includes easy referencing across contexts, such as from web controllers to business objects and validators. Rapid development - The Spring MVC facilitates fast and parallel development. Reusable business code - Instead of creating new o...