title: get ArrayList JSP variables in JavaScript function
body: <p>I am trying to get familiar with javaScript and currently stumbled upon one issue:
  How to get ArrayList JSP variables in JavaScript function?</p>
  
  <p>Fo example I figured out how I can get an int value, but dont know how to move the array list</p>
  
  <pre><code>var total='&lt;%=counter%&gt;'; //convert jsp to JavaScript
  </code></pre>