we are developing an web application in which we have to display different types of files to the end user.We are storeing files as blob objects in database.We able to display text,html,java files but we are facing problem in displaying pdf files .File content is not displaying in PDF format.
we are using
to open pdf file .but it is not opening properly...
please help me out.
Thanks in advance
posted 8 years ago
JSPs are not meant to stream binary data (like PDFs). You need to use a servlet instead.