protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        try{
            Category NewCat = new Category();
            NewCat.setName("TV");
            NewCat.setDescription("TV");
            Factory.getInstance().CategoryDAO().add(NewCat);
        } catch (SQLException e){
            request.setAttribute("errors",e);
        }
        request.getRequestDispatcher("index.jsp").forward(request, response);
    }