aspose file tools*
The moose likes JSP and the fly likes How to output/dump JSP data into a pdf file??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to output/dump JSP data into a pdf file??? " Watch "How to output/dump JSP data into a pdf file??? " New topic
Author

How to output/dump JSP data into a pdf file???

suneel kanth
Greenhorn

Joined: Feb 06, 2003
Posts: 22
Hi all,
Pls help me to find the sol.If possible explain me with example....Thank you ...


Any sufficiently advanced bug is indistinguishable from a feature.
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I did a little searching in the Java In General (Advanced) forum and found mention of this: iText
It's an open source set of classes that allow you to generate PDF files. There's documentation listed on the site -- you'll have to walk through it and read a bit to figure out how to get it to work.
Enjoy!


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
the xml/xslt alternative would be fop.
http://xml.apache.org/fop/index.html
In the download you find a servlet example.
2 tutorials and 1 article about using fop, all fresh
The tutorials are not specifically about using fop into servlets/jsp, but its easy to integrate both technologies.
For performance reasons it some sort of a caching-strategy for the dynamically generatede files might be a good idea, if possible.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to output/dump JSP data into a pdf file???
 
Similar Threads
acronym atrocity
A Challenge!
Google India CodeJam
13 Nov Riddle
How many Brits and Europeans on this board?