public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		resp.setContentType("text/html"); // Set the MIME type of our HTTP
											// response
		PrintWriter out = resp.getWriter(); // Use a PrintWriter to build the
											// output to the client browser

		String detail = req.getParameter("id"); // Read in the value associated
												// with a querystring, e.g.
												// http://localhost:8080/ds//bootstrap?id=123-AA
		out.print("<html><head><title>Result Page</title></head><body>");
		// Print out some stuff to prove it works okay...
		if (outQu.containsKey(detail)) {// if there is result for this request
										// ID

			if (outQu.get(detail) != null) {// if there is a result of this ID
				out.print("<H1>Refresh this page you will lost your data!</H1>");
				out.print("<p>" + new String(outQu.get(detail)) + "</p>");

			} else {// user didn't put in any text or file
				out.print("<H1>You haven't put in any data!</H1>");
				out.print("<p>Just let you know: <b>Programmers are not Superman.</b></p>");
			}
			outQu.remove(detail);// remove the element from outQueue
		} else {
			// check if this user ID is still in the In queue
			// which means waiting to be processed
			boolean exist = false;
			while (inQu.iterator().hasNext()) {
				MessagePack mp = inQu.iterator().next();
				if (mp.getId() == detail) { // if the ID being found
					out.print("<H1>You request is being processing, please check later.</H1>");
					exist = true;
					break;
				}
			}
			if (!exist) {// if there is no matching ID in the In queue and Out
							// queue
				out.print("<H1>Sorry, we can't find your request!</H1>");
			}

		}
		// give user a link to home page
		out.print("<p><a href=\"http://localhost:8080/ds/\">Back to Homepage</a></p>");
		out.print("</body></html>");
	}