title: How to send an array from Servlet to Java Script with AJAX?
body: <p>I need send an array to js with ajax, this is my function with ajax in a java script...</p>
  
  <pre><code>$.ajax({
      url: "/localizacion/ServletPeticiones",
      type:"Post",
      data:"accion=LatLong_UR",
      dataType: "text",
      success: function(results){
          console.info(results);
          cad=results;   
      }
      });
  </code></pre>
  
  <p>I've got an array <code>String[][] datos</code>, and I have to send this array from my Servlet to JS with the last function.</p>
  
  <p>How I can do this?
  How receive the array from my Servlet with my function of ajax in a js?</p>