public ModelAndView create(HttpServletRequest request, HttpServletResponse response) {
RewardForm rewardForm = new RewardForm();
ServletRequestDataBinder binder = new ServletRequestDataBinder(rewardForm, "rewardForm");
// enforces these fields are present in the form
binder.setRequiredFields(new String[] { "creditCardNumber", "amount", "merchantNumber" });
binder.registerCustomEditor(MonetaryAmount.class, new MonetaryAmountEditor());
// copies parameters in the request to the reward form
binder.bind(request);
if (binder.getBindingResult().hasErrors()) {
return new ModelAndView("reward/new", binder.getBindingResult().getModel());
} else {