model.addAttribute("result",0);
return "admin/result";
}
}
@PostMapping("/update.action")
<BUG>public String update(BlogView view,Model model){
</BUG>
boolean result=blogSer.updateBlog(view);
if (result){
model.addAttribute("targetUrl","/post/"+view.getVid());

model.addAttribute("result",0);
return "admin/result";
}
}
@PostMapping("/update.action")
public String update(BlogView view,Model model) throws RuntimeException{
boolean result=blogSer.updateBlog(view);
if (result){
model.addAttribute("targetUrl","/post/"+view.getVid());
