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
You should wrap your script in this structure :
EDIT :
Don't forget to store your javascript and other static files in the /src/main/webapp folder of your spring-boot project
/src/main/webapp
EDIT2 :
You can do directly your script with thymeleaf :
... null not_null