</BUG>
String idStr=request.getParameter("id");
return projectSer.getProById(idStr);
}
@PostMapping("/updPro.action")
<BUG>public String updatePro(Project project){
</BUG>
projectSer.updatePro(project);
return "redirect:/admin/project/1";
}

projectSer.deletePro(id);
return "redirect:/admin/project/1";
}
@ResponseBody
@GetMapping("/pro.json")
public Project getProJson(HttpServletRequest request) throws RuntimeException{
String idStr=request.getParameter("id");
return projectSer.getProById(idStr);
}
@PostMapping("/updPro.action")
public String updatePro(Project project) throws RuntimeException{
projectSer.updatePro(project);
return "redirect:/admin/project/1";
