title: Is it possible to get Javascript array in JSP page
body: <p>I am developing a web application in which I which I have a JavaScript array and I want this array in my JSP page and iterate it save the data in database.</p>
  
  <pre><code>var value = response;
    for (var key in value) {
        if (value.hasOwnProperty(key)) {
          alert(key + " -&gt; " + value[key]);
          var sample = new Array();
          sample=value[key];
          console.log(sample);
          // document.getElementById('');
        }
      }
  });
  </code></pre>
  
  <p>I want this data on my JSP page is it possible. If it is possible, then how?</p>