title: Simple for loop in thymeleaf
body: <p>I add one variable to model called numberOfPages and I want to foor over this variable. I mean I want to achieve something like this:</p>
  
  <pre><code>for(int i = 1; i &lt;= numberOfPages; i++)
  </code></pre>
  
  <p>How can I do this?</p>