hello,
I have a question...
I am using BLOBs to insert image file into the database.
After inserting an Empty_blob() into the database. I want to use blob.putBytes(long,byte[]) method to load the bytes into the blob.
I am getting the parameter from the html form.
AS request.getParameter("blob") gets the type
String. I need to convert it into byte[]. Is it possible in
java?? please help.
Can anyone please send me some sample code for inserting and retrieving BLOBs from the database. I dont have much experience in java
servlets.
Thanks,
Reddy