Share on Google+Share on Google+

Tips and Tricks

Advertisement
This example retrieves data from MySQL and sends response to the web browser in the form of a PDF document using Servlet.

Tips and Tricks

       

 

  1. Send data from database in PDF file as servlet response
    This example retrieves data from MySQL and sends response to the web browser in the form of a PDF document using Servlet. This program uses iText, which is a java library containing classes to generate documents in PDF, XML, HTML, and RTF. For this you need to place iText.jar file to lib folder of your JDK and set classpath for it. You can download this jar file from the link http:// www.lowagie.com/iText/ download.html/.

     


Now, read more information at:

http://www.javajazzup.com/issue8/page63.shtml

Advertisements

Advertisement

Posted on: April 3, 2006 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Comments:0