コード例 #1
0
 @RequestMapping(value = "/new", method = RequestMethod.GET)
 public void create(ModelMap modelMap) {
   service.loadModel(modelMap);
 }
コード例 #2
0
 @RequestMapping(value = "/edit", method = RequestMethod.GET)
 public void update(ModelMap modelMap, @RequestParam Long id) {
   service.loadModel(modelMap, id);
 }
コード例 #3
0
 @RequestMapping(value = "/view", method = RequestMethod.GET)
 public void view(ModelMap modelMap, @RequestParam Long id) {
   service.loadModel(modelMap, id);
 }