public void deleteCategory(HttpServletRequest request,
			HttpServletResponse response){
		String id = request.getParameter("categoryId");
		BookDAO bdao = new BookDAO();
		BookCategoryDAO bcdao = new BookCategoryDAO();
		bdao.delete(Integer.valueOf(id).intValue());
		bcdao.delete(Integer.valueOf(id).intValue());
		try {
			request.getRequestDispatcher("../managerView/categoryManage.jsp").forward(request,response);
		} catch (ServletException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}