What is the best way to create PDF reports with iText and zip them together?
Posted
by Suresh S
on Stack Overflow
See other posts from Stack Overflow
or by Suresh S
Published on 2010-03-24T18:44:48Z
Indexed on
2010/03/24
19:13 UTC
Read the original article
Hit count: 357
I have to create a pdf report using apache itext api and report should be zipped .For example there is a report to be generated for people staying in a location of a state. for each state there are many locations, for each location , details of eachh people under the location should be saved as pdf (for each people) finally all the pdf for a location should be zipped ,this way finally all zip files for all locations should be zipped and placed under the zip file for states .
my question is how best we can develop code in java. i want a skeleton framework to do the above functionality . i thought of using recursion method.also let me know from experienced users of zip api, will there be any error during creation of many zip files.
© Stack Overflow or respective owner