This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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).
Ping & DNS - updated with new look and Ping home screen widget
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?