예제 #1
0
 @RequestMapping(value = "users", method = RequestMethod.POST)
 public String sendJoin(User user) {
   userService.registUser(user);
   return "jsonView";
 }
예제 #2
0
 @RequestMapping(value = "users", method = RequestMethod.GET)
 public String join(ModelMap map) {
   List<User> joinList = userService.getJoin();
   map.put("joinKey", joinList);
   return "jsonView";
 }