Basic setup

Before we start with the first flow, we would need to get the application set up to use Spring MVC. In the next section, we will start by understanding how to set up Spring MVC in a web application.

We are using 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