The client system (i.e., yours) needs to have a PDF viewer (most often Acrobat Reader) installed. The server doesn't need one (it simply streams the file to the client).
Joined: Jan 17, 2005
Thanks for the reply.
Iam getting the following error though when I try to open the PDF.Other applications are opening perfectly though like word,excel etc.
The error message is
"Adobe reader could not open the file because it is either not a supported file type or because the file has been corrupted(for example, it was sent as an email attachment and wasn't correctly decoded)".
The file is not corrupt as Iam able to open it.But when I upload the pdf file to the server and try to read it in my application(a jsp page with a href link to the document from the server),its giving me this error.
Joined: Mar 22, 2005
Maybe the file gets corrupted during the upload and download process? Have you verified that what gets downloaded is exactly the same as what you uploaded?