public void doPost(HttpServletRequest request,
			HttpServletResponse response) {
		response.setCharacterEncoding("UTF-8");
		if (request.getParameter("requestType").equals("login")) {

			login(request, response);
			
		}
		
		if(request.getParameter("requestType").equals("homePage")){
			this.querryAllBooks(request, response);
		}
		if(request.getParameter("requestType").equals("left")) {
			setCateBook(request,response);
		}
		
		if(request.getParameter("requestType").equals("right")) {
			setBook(request,response);
		}
		if(request.getParameter("requestType").equals("register")){
			
			register(request, response);
		}
	}