后端controoler:@RequestMapping("/account/delete")
public String delete(Integer aid,HttpServletRequest request) throws IOException { //存数据, Model对象
// 调用service的方法
accountService.delete(aid);
return "redirect:/account/findAll";
}
findAll页面不存在 引入的是什么模板引擎?
@RequestMapping("") 修改成getMapper("/") 看看。
对了, 这个地址按照你的写法 , 这里应该不是大写的T , 而是_t吧?