views:

309

answers:

1

Hi

I would like to be able to have the user upload short audio samples to my app-engine application and store them in the provided datastore. I'm using the Java servlet version.

My problem is using a multi-part form to upload a file. Using the normal request.getParameter() method returns null with multi-part forms. I have read about using the oriely MultiPartForm class, but that seems to involve saving the file to the server filesystem, which is out of the question.

Can somebody show me how to upload a file so that it ends up in an AppEngine database Blob object?

thank you