Separate item in foreach tag (jstl)

前端 未结 2 921
猫巷女王i
猫巷女王i 2021-01-16 19:15

I have a JSP page with JSTL and I want to separate an user from other with an


tag. How can I solve it?



        
2条回答
  •  情话喂你
    2021-01-16 20:07

    Put it inside the loop and use varStatus attribute of c:forEach to remove the one line you don't need in the end.

    
      
      
      
        

提交回复
热议问题