ssm删除报错404
前端: 删除
后端: @RequestMapping("/account/delete")
public String delete(Integer aid) throws IOException { //存数据, Model对象
// 调用service的方法
accountService.delete(aid);
return "redirect:/account/findAll";
}
后端: @RequestMapping("/account/delete")
public String delete(Integer aid) throws IOException { //存数据, Model对象
// 调用service的方法
accountService.delete(aid);
return "redirect:/account/findAll";
}