title: How to send a ResultSet object in JSP back to HTML (JavaScript)?
body: <p>I have a JSP page that queries a MySQL database, I want to send the Resultset object to an HTML page as a response object? I need the resultset object to populate a table and a chart.</p>
  <ol>
  <li><p>How do I cast the resultSet object into a javascript object?</p>
  </li>
  <li><p>How do I send a resultSet object from JSP to HTML? (I mean the syntax)</p>
  </li>
  </ol>
  <p>I am using get <code>xmlHTTPrequest</code> to call the JSP page</p>