title: iText - generating files on the fly without needing a PDF file
body: <p>I am trying to use iText for pdf file generation and I have a question regarding the generation. I would like to serve the PDF to the browser so that the browser displays it, without actually creating a file. </p>
  
  <p>What would be the best approach to achieve this? </p>
  
  <p>One limitation is that I would need to use it from a JSP page - something that would circumvent the "getOutputStream has already been called once" error is what I am looking for. </p>