title: How can I set a javascript value into a jslt variable?
body: <p>I draw a google chart in a jsp page and I want to set the value of a javascript variable in a jslt variable (I'm not sure that I can make it)</p>
  
  <p>I have this :</p>
  
  <pre><code>google.visualization.events.addListener(chart, 'ready', function () {
      chart_div.innerHTML = '&lt;img src="' + chart.getImageURI() + '"&gt;'; //I want to have chart.getImageURI() in a jslt var for pass it in parameter
      console.log(chart_div.innerHTML);       
  });
  </code></pre>
  
  <p>And I want to make something like this :</p>
  
  <pre><code>&lt;c:set var="var1" value="myUrl"/&gt; //Where myUrl = chart.getImageURI()
  </code></pre>
  
  <p>I know that javascript is generated by browser so I think it's not possible to take the javascript var in my jsp but if you have some ideas to help me it should be perfect ! </p>
  
  <p>Thanks in advance !</p>