public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception
{
HolidayBookingForm holidayBookingForm = (HolidayBookingForm) form;
if (request.getAttribute(Globals.CANCEL_KEY) == null)
{
HolidayBookingService holidayBookingService = (HolidayBookingService) getWebApplicationContext().getBean(
"holidayBookingService");
HolidayBooking holidayBooking = new HolidayBooking();
holidayBookingForm.writeTo(holidayBooking);
holidayBookingService.updateHolidayBooking(holidayBooking);
request.setAttribute("displayMessage", "Successfully updated entry: " + holidayBooking.getTitle());
}