@@ -0,0 +1,923 @@
+package com.google.sps.servlets;%0A%0Aimport com.google.appengine.api.datastore.DatastoreService;%0Aimport com.google.appengine.api.datastore.DatastoreServiceFactory;%0Aimport com.google.appengine.api.datastore.Key;%0Aimport com.google.appengine.api.datastore.KeyFactory;%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/** Servlet that deletes the keywords.*/%0A@WebServlet(%22/delete-keywords%22)%0Apublic class DeleteKeywordsServlet extends HttpServlet %7B%0A%0A  @Override%0A  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException %7B%0A    String keyString = request.getParameter(%22k%22);%0A    Key key = KeyFactory.stringToKey(keyString);%0A    DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();%0A    datastore.delete(key);%0A  %7D%0A%7D%0A

Add Servlet to delete keywords