From f780171a1cb39c7fb17aed98b5b9db83fd559fcb Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 23 Apr 2008 16:19:37 +0000 Subject: [PATCH] elimintated controller/handler adapter duplication made spring beanish with default constructor --- .../webflow/samples/booking/BookingFlowHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/BookingFlowHandler.java b/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/BookingFlowHandler.java index d6e03722..cc675ed2 100644 --- a/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/BookingFlowHandler.java +++ b/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/BookingFlowHandler.java @@ -13,13 +13,13 @@ public class BookingFlowHandler extends AbstractFlowHandler { @Override public String handleExecutionOutcome(FlowExecutionOutcome outcome, HttpServletRequest request, HttpServletResponse response) { - return "hotels/index"; + return "/hotels/index"; } @Override public String handleException(FlowException e, HttpServletRequest request, HttpServletResponse response) { if (e instanceof NoSuchFlowExecutionException) { - return "hotels/index"; + return "/hotels/index"; } else { throw e; }