//跳转到修改图书信息页面 @RequestMapping("/toUserEdit") public String toUserEdit(Integer user_id, Model model){ //放进model User user = userService.findUserById(user_id); model.addAttribute("user", user); // model.addAttribute("user_id",user_id); //到视图:jsp页面