Re: Sending image and retrieving image through a servlet
Friday, August 22, 2003 04:21 AM
Next, you have to pass the selected value (the path) to your servlet, than gain access via FileInputStream.
Next you pass this fileinputstream to the database (Blob).
The other way round :
you gain access to the DB, retrieve the Data via getBinaryStream or so (look jdbc for the correct method) and pass it over to an arrayfield. This you can save to your harddisk via Fileinputstream.
Sorry for my bad english ;-)