A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Joined: Feb 26, 2001
Mar 07, 2001 06:59:00
pls some1 tell me how to insert a image into a database and retreving it from the database, Code will be helpful.
Joined: Jun 12, 2000
Mar 07, 2001 07:32:00
Read the Image Using Input stream and store that Store in the data base and retrive back and make it a file
<a href="http://www.jobklub.com" target="_blank" rel="nofollow">http://www.jobklub.com</a><br /> 'Add Job To Life'
Joined: Feb 01, 2001
Mar 09, 2001 13:45:00
You will need to use a PreparedStatement and set the image to a stream. The database will store the image in a BLOB.
Here is a chapter from the tutorial with code examples:
Hope this helps.
I agree. Here's the link:
subject: Image insertion
wants to configure next and previous buttons for database entry !
thumbnail in jsp
how to store an image into the DataBase using oracle database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014