protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        
        String userPath = request.getServletPath();
        String url = null;
        
        if( userPath.equals("/contacto") ){
            url = "Contacto.jsp";
        }else if( userPath.equals("/login") ){
            url = "InicioSesion.jsp";
        }else if( userPath.equals("/org") ){
            url = "paginaPrincipalAngel.jsp";
        }else if( userPath.equals("/logout") ){
            request.getSession().removeAttribute("error");
            request.getSession().removeAttribute("TipoSesion");
            request.getSession().removeAttribute("nombre");
            request.getSession().invalidate();
            out.println("<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"0;/Angel/\">");
        }else if( userPath.equals("/entidad") ){
            url = "paginaPrincipalEntidad.jsp";
        }
        
        if( url != null ){
            try{
                request.getRequestDispatcher(url).forward(request, response);
            }catch(Exception ex){
                ex.printStackTrace();
            }
        }
        
        /*
        try {
            /*
             * TODO output your page here. You may use following sample code.
             
            out.println("<html>");
            out.println("<head>");
            out.println("<title>Servlet Core</title>");            
            out.println("</head>");
            out.println("<body>");
            out.println("<h1>Servlet Core at " + request.getContextPath() + "</h1>");
            out.println("</body>");
            out.println("</html>");
        } finally {            
            out.close();
        }
        */
    }