Setting up a Spring MVC application

Before we start with the first flow, we need to get the application set up to use Spring MVC. 

We use Maven to manage our dependencies. The following steps are involved in setting up a simple web application:

  1. Add a dependency for Spring MVC.
  2. Add DispatcherServlet to web.xml.
  3. Create a Spring application context.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset