title: how to extract array from java to ajax
body: <p>I get the values  from database to <strong>time</strong> array as follow</p>
  
  <pre><code>int[] time=Manager.playTime() ;               
  responsedata.put("status", "success");
  responsedata.put("play", time);
  </code></pre>
  
  <p>And i am sending this <strong>time</strong> array to ajax in javascript file as follow</p>
  
  <pre><code> success:function(response){
       $('body').css('cursor', 'default');
       if(response.status == 'success'){
          for( var i=0;i&lt;response.play.length;i++){
             alert("playtime---"+response.play[i]);
       }
  </code></pre>
  
  <p>but here i am not getting the values from array .Please help me</p>
  
  <p>Thanks </p>