Is it possible to store a Jpeg file in a database using a Web Application?
can you share some code on how to do it?
or share some links for some tutorial regarding with my problem? thanks a lot 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
storing an image in a blob
i don’t use java, i don’t know what database structure you are using but the principle is to store the image in a binary large object. (blob) it does require reading the object in and out using streams. (or at least in c# this is the case)
the alternative(if it works) is to store a string location and have the image in a directory somewhere.