【发布时间】:2019-05-07 05:13:34
【问题描述】:
(我在谷歌上看过,这里..并没有找到可以帮助我的答案)。
目标:作为可点击网页链接输入的网站 - 从数据库中检索链接作为 varchar(100)
尝试了各种不同的解决方案.. 没有任何运气 - 也许你们中的一个可以帮助我? :)。提前谢谢你。
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Address</th>
<th>City</th>
<th>Zip</th>
<th>Website</th>
<th>Email</th>
<th>Phone</th>
<th>Location</th>
<th>Agelimit</th>
</tr>
</thead>
<tbody>
<tr th:each="sps: ${sp}">
<td th:text="${sps.venueId}"/>
<td th:text="${sps.name}"/>
<td th:text="${sps.address}"/>
<td th:text="${sps.city}"/>
<td th:text="${sps.zip}"/>
<td th:text="${sps.website}"/>
<td th:text="${sps.email}"/>
<td th:text="${sps.phone}"/>
<td th:text="${sps.location}"/>
<td th:text="${sps.ageLimit}"/>
</tr>
</tbody>
</table>
【问题讨论】:
标签: java html spring-boot thymeleaf