springboot03-thymeleaf详细使用
th:each遍历数组
@RequestMapping("/success")
public String success(Model model, Map map){
map.put("users", Arrays.asList(new User("寇春雷",22),new User("寇雨泽",8),new User("张三",22)));
return "success";
}
[[${user.age}]]