hi, i want to retrieve a image that is stored in the database then save it to a file.
the image is stored in a database and i have retrieve it using
select multimedia from table1 where multimediacode=1
then using resultset.getbinarystream("multimedia" and a couple of manipulation with bytearrayoutputstream , i managed to store the multimedia (gif/jpg) into a byte[] (bytearray).
the next step is how to save it to a file?
any kind soul, pls advise
the image is stored in a database and i have retrieve it using
select multimedia from table1 where multimediacode=1
then using resultset.getbinarystream("multimedia" and a couple of manipulation with bytearrayoutputstream , i managed to store the multimedia (gif/jpg) into a byte[] (bytearray).
the next step is how to save it to a file?
any kind soul, pls advise