@@ -0,0 +1,981 @@
+package com.google.sps.servlets;%0A%0Aimport com.google.appengine.api.blobstore.BlobstoreService;%0Aimport com.google.appengine.api.blobstore.BlobstoreServiceFactory;%0Aimport java.io.IOException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0A%0A@WebServlet(%22/blobstore-upload-url-gallery%22)%0Apublic class UploadOnBlobstoreServlet extends HttpServlet %7B%0A  %0A  // Create an upload URL for the user to upload their images to BlobStore%0A  @Override%0A  public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException %7B%0A    BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();%0A%0A    // Redirects the user to /usercards servlet upon completion of %0A    String uploadUrl = blobstoreService.createUploadUrl(%22/usercards%22);%0A%0A    response.setContentType(%22text/html%22);%0A    response.getWriter().println(uploadUrl);%0A  %7D%0A%7D

Add UploadBlobstoreServlet