Hi isomorphic,
I am uploading PDF file from the client side using FileItem(also tried with UploadItem) and retrieving file at the server end using "dsRequest.getUploadedFiles()" api. I receive the byte array using "dsRequest.getUploadedFiles().get(0).get()" and then when i try to create the PDF again from this byte array but the file always seems to be corrupt. I compared the original and created PDF files content by opening the file using notepad, both were different. Some of the characters have been replaced with "�". Please suggest.
Thanks.
I am uploading PDF file from the client side using FileItem(also tried with UploadItem) and retrieving file at the server end using "dsRequest.getUploadedFiles()" api. I receive the byte array using "dsRequest.getUploadedFiles().get(0).get()" and then when i try to create the PDF again from this byte array but the file always seems to be corrupt. I compared the original and created PDF files content by opening the file using notepad, both were different. Some of the characters have been replaced with "�". Please suggest.
Thanks.
Comment