Image

Imagepromdi wrote in Imagejava_dev

*gasp* help

Is there a way to directly upload a multi-type file to MySQL via servlet?

I use Spring framework. I thought I could use FileUpload to get the contents of the file and then directly set the bytes on a Blob. I'm confused with Blob's
setBytes(long, byteArray[])
method though... What's this position thing? I'm ashamed of my inexperience...