예제 #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);
 }