I use thymeleaf 3 with spring boot 2
have a integer and a string to do a compare
i tried
${car.id}==${generic.value}"
but it's always false
This should help you: ${#strings.equals(generic.value, #strings.toString(car.id))}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With