public void toRequest(HttpServletRequest request, HttpServletResponse response){
		
		
		if(request.getParameter("requestType").equals("adminLogin")){
			this.setAdmin(request, response);
		}
		if(request.getParameter("requestType").equals("deleteBook")){
			System.out.println(request.getParameter("requestType"));
			System.out.println(request.getParameter("ID"));
			this.deleteBook(request, response);
		}
		
		if(request.getParameter("requestType").equals("sales")){
			this.setAttribute(request, response);
		}
		
		if(request.getParameter("requestType").equals("addCategory")) {
			this.addCategory(request,response);
		}
		if(request.getParameter("requestType").equals("modifyCategory")) {
			this.modifyCategory(request,response);
		}
		
		if(request.getParameter("requestType").equals("addBook")) {
	 		this.addBook(request, response);
		}
		if(request.getParameter("requestType").equals("modifyBook")) {
	 		this.modifyBook(request, response);
		}
		if(request.getParameter("requestType").equals("logout")){
			
			this.logout(request, response);
		}
		if(request.getParameter("requestType").equals("query")) {
			this.query(request, response);
		}
		if (request.getParameter("requestType").equals("delete")) {

			deleteCategory(request, response);
			
		}
	}