title: Display Java List values in Javascript alert
body: <p>I have a Java list whose values I need to display in Javascript.</p>
  
  <p>Here is my Java code to populate the List:</p>
  
  <pre><code>List&lt;CoordinateVO&gt; coordinateList = new ArrayList&lt;CoordinateVO&gt;();
  
  for (Iterator iterator2 = cordinates.iterator(); iterator2.hasNext();) {
  
  Adcoordinate object = (Adcoordinate) iterator2.next();
  
  if(object!=null){
  
      CoordinateVO co = new CoordinateVO(object.getLatitude(),object.getLongitude());
      coordinateList.add(co);
      }
  }
  </code></pre>
  
  <p>Now I want to display values of CoordinateList in Javascript Dialog Box.
  Is there any way out to do this ?</p>