pdf « error « Java I/O Q&A





1. getting error in programatically created pdf    coderanch.com

Hi, This is Ramesh. I am creating pdf document using file IO streams. after created it, i am trying to opening the pdf document but error message is showing as " There was an error opening this document.The file is damaged and could not be repaired" private void publish(String SavePath, String docID, String pdfDoc, String pdfName) { try { InstaSecureManager.logger.log(Level.INFO, "\n ...

2. Error in generating inline PDF    coderanch.com

Hi, In one of my J2ee application i was trying generating PDF when user click on one particular link for this i used itext pdf utility to generate byte array which then I'm writing to outstream In IE 6.0 I'm not able to open it as inline content as expected but it's prompting me to save the pdf where as in ...