title: how to save pdf reports automatically in database?
body: <p>My programming language is java. My application is a web based application. I am using BIRT for generating pdf reports but the requirement is to automatically save them to the database after viewing the pdf report. In BIRT the pdf document is generated on the fly from the rpt templates. When user clicks on a URL the pdf document is displayed by the BIRT viewer application. </p>
  
  <p>The requirement is once the pdf is generated i need to save a copy of the pdf file in the MySql database. This should happen automatically. once the user views the pdf (when the pdf is generated on the fly) the copy of the pdf file should get saved in the database.</p>
  
  <p>Please let me know, how i can achieve this?</p>