protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		Library library = new Library();
		JSONObject result = new JSONObject();
		try {
			library.checkInBook(
					Integer.parseInt(request.getParameter("bookNumber")));
			response.setContentType("application/json");
			response.getWriter().print(result);
			response.getWriter().close();
		} catch (NumberFormatException e) {
			e.printStackTrace();
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}