for loop in thymeleaf

前端 未结 4 1780
伪装坚强ぢ
伪装坚强ぢ 2021-02-18 19:10

How can I do the following (java):

for(int i = 0; i < 81 ; i+=20){
   //Should loop through 5 times!
}

in Thymeleaf?

I\'ve tried thi

4条回答
  •  遇见更好的自我
    2021-02-18 19:39

    use iterStat key word to iterate. Example If you have an Array of String and you are iterating the same using thymeleaf.

提交回复
热议问题