@Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        HttpSession session = request.getSession(true);
        System.out.println("desde NEXT");
        String salir = request.getParameter("salir");
        String newsC = request.getParameter("newsC");
        String nextJSP;
        nextJSP = "/indexOld.jsp";
        if(salir != null){
            session.invalidate();

            RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(nextJSP);
            dispatcher.forward(request, response);
            System.out.println("adios");
        } else if(newsC != null){ //    CONSULTA PUBLICA
            nextJSP = "/clientePub.jsp";
            RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(nextJSP);
            dispatcher.forward(request, response);
        } else {
//            Usuario user = (Usuario) session.getAttribute("user");
//            System.out.println("user.getCompleteName() = " + user.getCompleteName());

//            NUEVO

            doPost(request, response);

            //HABIA

            /*
            if(user != null){
                doPost(request, response);
//                nextJSP = "/frameset.jsp";
            } else {
                //usuario nulo
                RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(nextJSP);
                dispatcher.forward(request, response);
            }*/
        }

    }