I am using thymeleaf so when I run this application ,it gives me an error in (for(int i=0;i<10;i++) It means I have to respect the syntaxe of thymeleaf.My question is how
In thymeleaf current scripting modes are javascript (th:inline="javascript") and dart (th:inline="dart").
Use following snippet instead of