Two Laptop Bag
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
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:
subject: download file from database
It's not a secret anymore!