From 975571f7ba8b4d6bd8c9fd2316748e36e9b1e2f5 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Thu, 27 Mar 2008 12:50:53 +0000 Subject: [PATCH] get --- .../webflow/samples/booking/HotelsController.java | 2 +- .../booking-mvc/src/main/webapp/WEB-INF/hotels/index.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/HotelsController.java b/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/HotelsController.java index 32317ac5..346d3eb4 100644 --- a/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/HotelsController.java +++ b/spring-webflow-samples/booking-mvc/src/main/java/org/springframework/webflow/samples/booking/HotelsController.java @@ -25,7 +25,7 @@ public class HotelsController { } } - @RequestMapping + @RequestMapping(method = RequestMethod.GET) @ModelAttribute("hotels") public List search(SearchCriteria criteria) { return bookingService.findHotels(criteria); diff --git a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/index.jsp b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/index.jsp index 76a90b79..01266add 100644 --- a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/index.jsp +++ b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/index.jsp @@ -6,7 +6,7 @@ - +