I am writing a servlet which will get a blob out of blobstore by referencing the blobkey. I looked online but didn't find any good examples. The google site has following example:
BlobKey key = new BlobKey(blobkey);
BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
blobstoreService.serve(key, resp);
So the client knows the blobkey and it sends it to the servlet. The servlet should use the key to get the blob out of blobstore and send it back in a response.
Any suggestions? In java please.
Thanks Sarah