model.addAttribute("pageNum",projectSer.adminGetPageNum());
model.addAttribute("proList",projectSer.adminGetPros(page));
return "admin/project";
}
@PostMapping("/addPro.action")
<BUG>public String addProject(Project project){
</BUG>
projectSer.addPro(project);
return "redirect:/admin/project/1";
}

model.addAttribute("pageNum",projectSer.adminGetPageNum());
model.addAttribute("proList",projectSer.adminGetPros(page));
return "admin/project";
}
@PostMapping("/addPro.action")
public String addProject(Project project) throws RuntimeException{
projectSer.addPro(project);
return "redirect:/admin/project/1";
}
