title: How can i use Math.pow in a jsp?
body: <p>I am trying to do something along the lines of,</p>
  
  <pre><code>&lt;c:forEach begin = "1" end = "${obj.value}" var="i"&gt;
    Math.pow(5,${i});
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>i is a variable. This is on a jsp page. I have tried using <code>&lt;% %&gt;</code> as well as <code>&lt;%= %&gt;</code> but it is being really picky. I need to raise 5 to the power of the variable of the loop, the iterator, basically i. so on the first pass <code>5^1</code>, the second pass <code>5^2</code>, so on and so forth.</p>