File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
how can i store picture in my database
Joined: Mar 23, 2007
Mar 29, 2007 00:49:00
hello friends , i want to store picture in my data base. im working on
&using mysql as database.can any one can provide me code to generate it.
Joined: Jan 16, 2005
Mar 29, 2007 01:01:00
I don't know how to do it myself, but I did a quick search and found this which may help get you started:
Joined: Aug 23, 2005
Mar 29, 2007 10:39:00
You can convert the image data to a stream and then store this in a column of type BLOB. The website below provides the table design but the code is PHP.
Other more generic solution, could be to store "the location of the image on the hard drive", in the database.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: how can i store picture in my database
upload an image and save it on the server
Storing Picture in Access DataBase
display a picture stored in a DB with HTML
Upload attachment using Java
Byte array manipulation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014