javascript - Code inside script in JSP is not getting refreshed at interval -


i using high chart plotting dynamic graph. calling function last data after 1000 ms. same code shown on graph. alert show same data.

the code

load: function() {            var series = this.series[0];                             setinterval(function() {                          <% livedynamicgraph l = new livedynamicgraph(); %>                                 var   x = <%out.println(l.gettime()); %> ;                   alert(x)                     y = <%out.println(l.getresponsetime()); %>;                   series.addpoint([x, y], true, true);                         }, 1000); 


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -