Creating a multi-page web form using Spring Web Flow (Should know)
Spring Web Flow is an extension to Spring MVC that facilitates the building of multi-page workflows. In this recipe, we are going to use this technology to build a series of forms which could be used in a restaurant reservation wizard.
This recipe builds on top of the last one and assumes that the reader has created the Spring MVC project described in the previous recipe.
How to do it...
The first thing that we're going to do is to add the Spring Web Flow libraries to our web project:
- Open the Maven POM file from the web project we created in the previous recipe, select the Dependencies tab, and click on the Add… button in the Dependencies section. Add the following dependency: ...