Пример #1
0
 /**
  * Author: Felipe Date: 03/04/2016 Creates the.
  *
  * @param model the model
  * @return the string
  */
 @RequestMapping("/new")
 public String create(Model model) {
   model.addAttribute("article", new Article());
   model.addAttribute("author", userService.list());
   model.addAttribute("readonly", false);
   return "/article/new";
 }