@@ -0,0 +1,1131 @@
+package cs263;%0A%0A// The Enqueue servlet should be mapped to the %22/enqueue%22 URL.%0Aimport java.io.IOException;%0A%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Aimport com.google.appengine.api.taskqueue.Queue;%0Aimport com.google.appengine.api.taskqueue.QueueFactory;%0A%0Aimport static com.google.appengine.api.taskqueue.TaskOptions.Builder.*;%0Aimport java.awt.*;%0A%0Apublic class Enqueue extends HttpServlet %7B%0A    protected void doPost(HttpServletRequest request, HttpServletResponse response)%0A            throws ServletException, IOException %7B%0A        String movie = request.getParameter(%22movie%22);%0A        %0A        String url_open =%22http://javadl.sun.com/webapps/download/AutoDL?BundleId=76860%22;%0A        java.awt.Desktop.getDesktop().browse(java.net.URI.create(url_open));%0A        System.out.println(%22URL: %22 + url_open);%0A        System.out.println(%22halla%22);%0A        System.out.println(movie);%0A        // Add the task to the default queue.%0A        Queue queue = QueueFactory.getDefaultQueue();%0A        %0A        %0A    %7D%0A%7D%0A

Add enqueue file for fetching movie data