title: Variables not displaying in JSP page
body: <p>I need to display variables that were initialized in a JSP page.</p>
  
  <p>I have already tried to use ${value} and 
  I also already tried everything in that was suggested in this thread:
  <a href="https://stackoverflow.com/questions/22670323/values-not-displayed-in-jsp">Values not displayed in jsp</a></p>
  
  <pre><code>&lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  ````&lt;head&gt;
  ````````&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  ````````&lt;title&gt;JSP Page&lt;/title&gt;
  ````&lt;/head&gt;
  ````&lt;body&gt;
  ````````&lt;h1&gt;Hello World!&lt;/h1&gt;
  ````````&lt;ul&gt;
  ````````````&lt;% for(int i=0;i&lt;10;i++){ %&gt;
  ````````````&lt;li&gt;${i}&lt;/li&gt; &lt;!--I want to display i--&gt;
  ````````````&lt;% } %&gt;
  ````````&lt;/ul&gt;
  ````&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I expect the page:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Hello World!&lt;/h1&gt;
  &lt;ul&gt;
  &lt;li&gt;0&lt;/li&gt;
  &lt;li&gt;1&lt;/li&gt;
  &lt;li&gt;2&lt;/li&gt;
  &lt;li&gt;3&lt;/li&gt;
  &lt;li&gt;4&lt;/li&gt;
  &lt;li&gt;5&lt;/li&gt;
  &lt;li&gt;6&lt;/li&gt;
  &lt;li&gt;7&lt;/li&gt;
  &lt;li&gt;8&lt;/li&gt;
  &lt;li&gt;9&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I get the page:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Hello World!&lt;/h1&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;li&gt;&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>