Spring mvc introduction

The way spring mvc works is it routes all requests to the dispatcher servlet. So, someone goes to the browser and tries to go our web application spring will send the request first to this dispatcher servlet and the dispatcher servlet will go and look for the controller that will tell basically what to do with that request  what view to display using what data. We gonna go through all those bit by bit. Lets create a offers web application using spring mvc. pom.xml web.xml When the request is routed to OffersController where the Request is mapped to “/”  by DispatcherServlet

Read more