| Author |
working with pdf.... in java j2ee
|
vijaykumar shah
Greenhorn
Joined: Jul 02, 2003
Posts: 23
|
|
This is two in one question ... i already have a Java program using FO in XSL that generated pdf as o/p file in the browser..... now i want to save that file on hard disk .. how can i save it .. is there any api for saving the pdf file.... as we have for generating pdf files secondly .. how do we append two pdf files in java ... i am using jdk1.3 , weblogic . I need api .. pure java program to append the pdf files vijay
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
Vijay,
i already have a Java program using FO in XSL that generated pdf as o/p file in the browser..... now i want to save that file on hard disk .. how can i save it .. is there any api for saving the pdf file.... as we have for generating pdf files
Are you trying to write it to disk on the server or client? If the server: The PDF file is written to a stream. Just write that stream to a location on disk. If the client: Set the type to attachment. The user will be prompted to select a download location.
secondly .. how do we append two pdf files in java ... i am using jdk1.3 , weblogic . I need api .. pure java program to append the pdf files
I think you will need a commercial API for that. The free ones don't seem to read in PDF.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Ashish Vegaraju
Ranch Hand
Joined: Aug 19, 2004
Posts: 47
|
|
Hi, For appending pdf files....u can use Lowagie's iText Java APIs. log on to www.lowagie.com/iText Any info on format convertion feel free to ask. Ashish.
|
 |
vijaykumar shah
Greenhorn
Joined: Jul 02, 2003
Posts: 23
|
|
You got me very right .. and u suggested right answer . i have worked in the same fashion and i got the results what i needed.. Thanks Vijay
|
 |
 |
|
|
subject: working with pdf.... in java j2ee
|
|
|