Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. thymeleaf遍历List

thymeleaf遍历List

  • Post author:xfxia
  • Post published:2023年9月21日
  • Post category:其他




1.接收List

<tr th:each="info:${userList}" >
        <td th:text="${info.id}"></td>
        <td th:text="${info.username}"></td>
</tr>



2.接收List<Map>类型

<tr th:each="maps:${userMap}">
		<td th:text="${maps.id}"></td>
		<td th:text="${maps.name}"></td>
</tr>

对,没错,他俩一模一样,233333
在这里插入图片描述



版权声明:本文为qq_40087986原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/qq_40087986/article/details/105635123

你可能也喜欢

Tableau图表 | 11、箱形图

Bootstrap Table 双击、单击行获取该行内容及获取全表的内容

1. 云原生与容器基础

matlab 高斯脉冲整形,matlab高斯脉冲波形

时间戳转化

机器人学

权限的分类

搜索结果页显示高亮关键词

公司服务器密码修改计划,7日杀服务器设置密码

(算法)天平问题

VC++设置注释快捷键

Struts2:解决不能访问action里面的方法

Jvm笔记

C++11中std::function的使用

云计算的部署方式-理论

Gitlab的管理使用手册

极大似然估计方法(Maximum Likelihood Estimate Method)

异常类继承图

cool-admin框架后端使用-node版本,三种方式中的repository方式使用

【第14天】Windows交互式图形界面_Mdi窗体

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单