diff --git a/spring-webflow-samples/booking-mvc/.classpath b/spring-webflow-samples/booking-mvc/.classpath index 275fd7fb..13087534 100755 --- a/spring-webflow-samples/booking-mvc/.classpath +++ b/spring-webflow-samples/booking-mvc/.classpath @@ -2,13 +2,13 @@ - - + + - + diff --git a/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component index 297ca111..79538943 100755 --- a/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component +++ b/spring-webflow-samples/booking-mvc/.settings/org.eclipse.wst.common.component @@ -4,7 +4,9 @@ - + + + diff --git a/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/DefaultFlowUrlHandler.java b/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/DefaultFlowUrlHandler.java index 8fcb4a67..13c340dd 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/DefaultFlowUrlHandler.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/context/servlet/DefaultFlowUrlHandler.java @@ -26,31 +26,28 @@ import org.springframework.util.StringUtils; import org.springframework.webflow.core.collection.AttributeMap; /** - * The default flow url handler for Spring Web Flow. + * The default FlowUrlHandler implementation for Spring Web Flow. *

* Expects URLs to launch flow to be of this pattern: + *

* *
- * http://<host>/[app context path]/[app servlet path]/<flow id>
- * 
- * - * For example: - * - *
- * http://localhost/springtravel/app/booking
+ * http://<host>/[app context path]/[app servlet path]/<flow path>
  * 
* + * As an example, the URL http://localhost/springtravel/app/booking would map to flow "booking", while the URL + * http://localhost/springtravel/app/hotels/booking would map to flow "hotels/booking". If the resource path ends in an + * extension it will be stripped; for example, /springtravel/app/booking.htm would still map to flow "booking". + *

* Expects URLs to resume flows to be of this pattern: + *

* *
- * http://<host>/[app context path]/[app servlet path]/<flow id>?execution=<flow execution key>
+ * http://<host>/[app context path]/[app servlet path]/<flow path>?execution=<flow execution key>
  * 
* - * For example: - * - *
- * http://localhost/springtravel/app/booking?execution=c1v1
- * 
+ * As an example, the URL http://localhost/springtravel/app/hotels/booking?execution=e1s1 would attempt to resume + * execution "e1s1" of the "hotels/booking" flow. * * @author Keith Donald *