New Forum | Previous | Next | (P-PDF) Beginners
Topic: PDF display on Web encounter problem
Conf: (P-PDF) Beginners, Msg: 87994
Date: 5/20/2003 11:20 PM
I have encounter some problems using Internet Explorer version 6.0.2600.0000IS and Acrobat Reader version 5.0. The PDF file cannot be open, and there are few type of error message being displayed,
1) "File does not begin with '%PDF-'."
2) "....The file is damage and can not be repaired.."
3) There is no message display but Internet Explorer display a blank page.
Let me explain my applications here, maybe you could help me to figure out what is going wrong. When a user click on the 'Generate Document" button on our Oracle form application on web, the form application call the Java Servlet on the Unix server to generate a ASCII text file. A composition software (named OPUS ) run on Window 2000 Server will pick up this ASCII text file and based on the data in the text file, it will generate a correspondence PDF file using the document template inside its own repository. The generated PDF file will be put back to the Unix server. The Unix Server path was mounted using NFS on the OPUS Window 2000 server, so that OPUS application can see the path, read and write file on Unix Server. Once the PDF file is put back to Unix Server, another java servlet will pick up and display it to the user's web browser. All these done within few seconds time.
The problem here is sometime the servlet display a blank page without acrobat reader embedded in the browser, sometime error message like I have mentioned above displayed. But, sometime it was displayed without any problem and working fine.
After all, when I open all these PDF files (with or without problem using IE) at the server side using Acrobat Reader only, there is no problem at all.
Could you enlighten me what is going on ? Hope to see your reply soon.