Skip to content Skip to sidebar Skip to footer

How To Use Java Get Function On Thymeleaf HTML?

Follow up on this question Function to determine winner How do I use the java function stated on the linked question in thymeleaf HTML form? Here is the code I have so far, but the

Solution 1:

You don't need get, just try using ${score.winningScore}


Solution 2:

Apparently I had empty fields on my html front, and when less than max amount of rounds where played it filled the rest with blank string.

Blank string cannot be inputted to a string list.


Post a Comment for "How To Use Java Get Function On Thymeleaf HTML?"