public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
List<String> uploadedKeys = BlobstoreUtil.processRequest(req);
if (uploadedKeys.size() > 0) {
FileCollection fc = FileCollection.get();
for (String b : uploadedKeys) {
log.info("Uploaded " + b);
fc.add(b);
}
fc.save();
} else {
log.warning("empty upload");
}
List<BlobInfo> blobInfos = BlobstoreUtil.loadBlobInfos(uploadedKeys);