Avatar

Level 2

The problem was because in my code the space that I had allocated for reading the document object into an inputstream was too less. So some part of the output file was not being written to the browser.

But importing data into PDF seems to be a better approach if the input file is a PDF file.

Thanks,

Jyothi