Use instanceof in Thymeleaf

前端 未结 1 1127
天命终不由人
天命终不由人 2021-02-13 14:23

Is there a way to use the Java instanceof operator in Thymeleaf?

Something like:



        
1条回答
  •  不思量自难忘°
    2021-02-13 15:01

    Try:

    or, if using Spring:

    more about using SpEL and dialects in thymeleaf.

    0 讨论(0)
提交回复
热议问题