diff --git a/spring-webflow-reference/src/spring-mvc.xml b/spring-webflow-reference/src/spring-mvc.xml index 58a6a3fd..56801724 100644 --- a/spring-webflow-reference/src/spring-mvc.xml +++ b/spring-webflow-reference/src/spring-mvc.xml @@ -39,19 +39,20 @@
DispatcherServlet maps request URLs to handlers.
- A simple way to create URL mapping rules is to define a SimpleUrlHandlerMapping:
+ A flow is one type of handler.
+ The simplest way to configure the Dispatcher to map to flows is to define a FlowIdHandlerMapping
/hotels/booking to the bookingFlowHandler.
+ Configuring this mapping allows the Dispatcher to map application resource paths to flows in a flow registry.
+ For example, accessing the resource path /hotels/booking would result in a registry query for the flow with id hotels/booking.
+ If a flow is found with that id, that flow will handle the request.
+ If no flow is found, the next handler mapping in the Dispatcher's ordered chain will be queried or a "noHandlerFound" response will be returned.