Hi i have a question.
I have got a table with Data Type BLOB in mysql database
i have a jsp page with <html:file > input and that gives me the
FormFile object in my ActionForm using which i can get the InputStream Object , but i can't figure out how to save it to the the table using setBlob on my prepared Statement.
i was thinking about calling setBinary() on my prepared statement but it needs a third argument the length of the data and thats where i am getting stuck
-thanks.
I have got a table with Data Type BLOB in mysql database
i have a jsp page with <html:file > input and that gives me the
FormFile object in my ActionForm using which i can get the InputStream Object , but i can't figure out how to save it to the the table using setBlob on my prepared Statement.
i was thinking about calling setBinary() on my prepared statement but it needs a third argument the length of the data and thats where i am getting stuck
-thanks.