Ejemplo n.º 1
0
 @RequestMapping(value = "/malts", method = RequestMethod.GET)
 public ModelAndView getMalts() {
   List<Malt> malts = scotchService.getMalts();
   ModelAndView mav = new ModelAndView("malt", Malt.class.getName(), malts);
   return mav;
 }