wood burning stoves 2.0*
The moose likes JSP and the fly likes download file from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "download file from database" Watch "download file from database" New topic

download file from database

Steven Ho

Joined: Jan 16, 2003
Posts: 15
I am trying to download a pdf file from database.
The coding did download some content, but these downloaded file's size appear to be smaller than it should be, comparing to blob in database. Original file size is 40kb but downloaded file size is 39kb as such.
Below is what I've done. Can someone please tell me what did I do wrong?

Have a nice day. Thank you all.
[ February 18, 2003: Message edited by: Steven Ho ]
I agree. Here's the link: http://aspose.com/file-tools
subject: download file from database
Similar Threads
Storing and Retriving Images from DB(Oracle) using JSP/Servlets
getOutputStream() has already been called for this response
File download from Blob column does not work
Reading From a Binary Large Object(BLOB)
Downloading file from Oracle DB