title: View returned PDF from an AJAX Call
body: <p>I have a Servlet that returns a PDF (Jasper Report).
  When the request comes from an HTML Form, It successfully shows the PDF.</p>
  
  <pre><code>&lt;form method="post" action="../reports/GenerateReport" target="_blank"&gt;
  </code></pre>
  
  <p>I'm new to jQuery and I would like to generate the report using an AJAX request, I now have the following code:</p>
  
  <pre><code>$.post('../reports/GenerateReport', {
      ...
  }, function (report) {
      //this ajax call returns a PDF
      //how do I show it?
  });
  </code></pre>
  
  <p>But I don't know what to do with the returned PDF. How do I show it?
  Thank you.</p>