Cannot forward after response has been committed【提交响应后无法转发】 有了 out.println(str); 后就不能再有 return "/role/list"; 了,去掉 return 后就不报错了 正确写法: