Chapter 11. Spring MVC Integration

Table of Contents

Introduction
Configuring web.xml
Dispatching to flows
Registering the FlowHandlerAdapter
Defining flow mappings
Flow handling workflow
Implementing custom FlowHandlers
Example FlowHandler
Deploying a custom FlowHandler
FlowHandler Redirects
View Resolution
Signaling an event from a View
Using a named HTML button to signal an event
Using a hidden HTML form parameter to signal an event
Using a HTML link to signal an event
Embedding A Flow On A Page
Embedded Mode Vs Default Redirect Behavior
Embedded Flow Examples

Introduction

This chapter shows how to integrate Web Flow into a Spring MVC web application. The booking-mvc sample application is a good reference for Spring MVC with Web Flow. This application is a simplified travel site that allows users to search for and book hotel rooms.