I am using Struts and jsp for my website. I just want a printable
format of my data and i want to know how can i convert my output in a
pdf format.
Tim B - 17 Nov 2006 05:50 GMT
> I am using Struts and jsp for my website. I just want a printable
> format of my data and i want to know how can i convert my output in a
> pdf format.
You could iText, which is a low level library for creating pdf documents, or
Jasper Reports which is a higher level approach but actually uses iText.
Those are the 2 I'm familiar with but there are many others.
Mayur - 21 Nov 2006 12:46 GMT
> > I am using Struts and jsp for my website. I just want a printable
> > format of my data and i want to know how can i convert my output in a
[quoted text clipped - 3 lines]
> Jasper Reports which is a higher level approach but actually uses iText.
> Those are the 2 I'm familiar with but there are many others.
Thank you I have seen it, seems to be interesting.
I am trying to use it in my project,
but I have to learn to use it first
Andrew Thompson - 17 Nov 2006 08:14 GMT
> I am using Struts and jsp for my website. I just want a printable
> format of my data ...
Use a "media='print'" stylesheet.
(That will work for UA's that don't have the Acrobat
plug-in, as well)
Andrew T.
javerra - 17 Nov 2006 13:09 GMT
> I am using Struts and jsp for my website. I just want a printable
> format of my data and i want to know how can i convert my output in a
> pdf format.
I have had good luck with the I-Text api. It is free and the tutorial
is here http://itextdocs.lowagie.com/tutorial/
vishal.mehta@gmail.com - 24 Nov 2006 20:45 GMT
> > I am using Struts and jsp for my website. I just want a printable
> > format of my data and i want to know how can i convert my output in a
> > pdf format.
Hi, I actually work for a company that has a product that sounds like
it will do exactly what you are looking for. The name of the company
is ceTe Software and the product you would need to use is DynmaicPDF
Generator for Java, http://www.cete.com/Products/DynamicPDFForJava/.
Using the Generator product you can generate PDF documents dynamically
and programatically from scratch using the data you have. There are
several examples downloaded with the product download that shows how to
generate PDF documents with data coming from database. Feel free to
download fully functional evaluation version from our web site.
Thanks,
Vishal Mehta