ssm删除404问题

ssm点击删除报错404
前端: 删除

后端controoler:@RequestMapping("/account/delete")
public String delete(Integer aid,HttpServletRequest request) throws IOException { //存数据, Model对象
// 调用service的方法
accountService.delete(aid);
return "redirect:/account/findAll";
}

运行结果及报错内容

img


http://localhost:8080/newTwossm_war_exploded/account/delete?aid=1
404错误

都试过了不知道什么原因
调转到跳转到查询页面

findAll页面不存在 引入的是什么模板引擎?

@RequestMapping("") 修改成getMapper("/") 看看。

img

对了, 这个地址按照你的写法 , 这里应该不是大写的T , 而是_t吧?