This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to upload an image to my DB.
I am using servlet to upload and hibernate to store.
Everything is working fine but when i download image it doesn't show the image, although the file gets created as it is.
I tried saving it to some location immediately after uploading but same problem.