model.addAttribute("blog",blogView);
return "admin/blog_modify";
}
}
@PostMapping("/post.action")
<BUG>public String postAction(BlogView view,Model model){
</BUG>
boolean result=blogSer.addBlog(view);
if (result){
return "redirect:/admin/blogList/1";

model.addAttribute("blog",blogView);
return "admin/blog_modify";
}
}
@PostMapping("/post.action")
public String postAction(BlogView view,Model model) throws RuntimeException{
boolean result=blogSer.addBlog(view);
if (result){
return "redirect:/admin/blogList/1";
