当前位置:网站首页>jsp 转换为thymeleaf格式的部分方式
jsp 转换为thymeleaf格式的部分方式
2022-04-23 00:32:00 【假期的学习】
1、 参考链接
1.1 thymeleaf 官网参考
https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html
1.2 主要的
https://blog.csdn.net/mm_520111111/article/details/122629017
1.3 其他的
https://blog.csdn.net/qq_33535433/article/details/78876693
http://vsalw.com/2357.html
https://www.cnblogs.com/suncj/p/4031486.html
https://blog.csdn.net/qq_39091546/article/details/105231863
2、 示例
<ul th:each="category,iStat:${categoryList}">
<!-- <c:forEach items="${requestScope.categoryList}" var="category" varStatus="i">-->
<!-- <c:if test="${i.index<9}">-->
<li th:if="${iStat.index}<9">
<a th:href="@{/product(category_id = ${category.category_id})}" th:style="'color:'+ ((${iStat.index}%2 != 0)?'#FF0036;':';')" th:text="${#strings.indexOf(#strings.listSplit(category.category_name,' /'),${iStat.index})}" >
<!-- <c:if test="${i.index % 2 != 0}"> style="color: #FF0036"</c:if>-->
<!-- ${fn:substring(category.category_name,0,fn:indexOf(category.category_name,' /'))}-->
<!-- [[${#strings.indexOf(#strings.listSplit(category.category_name,' /'),${iStat.index})}]]-->
</a>
</li>
<!-- </c:if>-->
<!-- </c:forEach>-->
</ul>
版权声明
本文为[假期的学习]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_43987149/article/details/124265626
边栏推荐
- (transfer) Aspose Introduction to DOM tree structure, node class inheritance relationship and description of words Programming Guide
- Dialogue with Yang jiongwei, fast is reflected in seizing the "bonus". In fact, tob company should run slower
- (turn) use dottrace6 0 for performance and memory analysis
- ArcGIS 制作3D规划图纸
- js -对连续月份数据做处理拆分
- Beifu el5101 module obtains the feedback position of the grating ruler and binds it to the NC axis configuration
- 微软官网下载Net Framework流程
- (transfer) Aspose Documentbuilder I of words Programming Guide
- MySQL -- operation of database
- EXCEL IF函数的简单使用
猜你喜欢

(transfer) Aspose Documentbuilder II of words Programming Guide

33岁,工作十年被裁员,所谓经验根本不值钱
![[image classification] - come on, let's do this bowl of efficientnet combat (pytoch)](/img/74/8c811ba94e29947d5c2ae0e1c05131.png)
[image classification] - come on, let's do this bowl of efficientnet combat (pytoch)

倍福EL6631和西门子1200做Profinet主从通信

ArcGIS 地表TIN面数据的符号化

Add a route between two CX controllers of Beifu

Misunderstanding of indexlookup

Beifu el5101 module obtains the feedback position of the grating ruler and binds it to the NC axis configuration

A tikv hard disk usage problem caused by GC not working caused by ticdc exception

Utiliser dottrace 6. 0 performance, analyse de mémoire
随机推荐
Mitsubishi fx5u configures iebasic setting of mr-je-c servo driver
C console application flash when running solution
Calculation of Beifu scaling factor
(turn to) C # best tool set: IDE, analysis, automation tools, etc
ArcGIS 城市生活区用地适宜性评价(五)
MySQL -- data type
ARP address resolution protocol
(transfer) Aspose Documentbuilder I of words Programming Guide
The global style caused by sideeffects disappears
植被物候參數遙感研究進展(好文分享)
Learning Android 8 from scratch -- threads and services
(turn) use dottrace6 0 for performance and memory analysis
API post, the interface document generation tool, is amazing
Componentwillunmount uninstall components
(转)SSH 登录配置与文件传输
Generation and mutual conversion of ArcGIS tin ground surface and grid ground surface
Making 3D remote sensing image map with ArcGIS
Application of tidb in massive transactions and real-time analysis of fast food chain enterprises
Unittest unit test (6)
[image classification] - come on, let's do this bowl of efficientnet combat (pytoch)