protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

        String form = "";
        HttpSession sesion = request.getSession();
        response.setContentType("text/html;charset=UTF-8");
        response.setCharacterEncoding("UTF-8");
        request.setCharacterEncoding("UTF-8");
        try (PrintWriter out = response.getWriter()) {

            /*Formulario solicitado*/
            String formulario = request.getParameter("formulario");
            if (formulario.equals("movimientoEquipo")) {
                form = obtenFormulario(formulario);
                form = form.replace("<input type=\"text\" id=\"nombre\" name=\"nombre\">", "<input type=\"text\" id=\"nombre\" "
                        + "name=\"nombre\" value=\""
                        + bd.regresaNombre((String) sesion.getAttribute("login")) + "\" disabled>");
                out.print(form);
            } else {
                if (formulario.equals("usuarioBaja")) {
                    form = obtenFormulario(formulario);
                    form = form.replace("<aqui va la tabla>", obten_tabla_usuarios((String) sesion.getAttribute("login")));
                    out.print(form);
                } else {
                    if (formulario.equals("catalogoAltaRegistro")) {
                        form = obtenFormulario(formulario);
                        form = form.replace("<aqui va el catalogo>", obten_select_catalogo("catalogo_tipo_equipo"));
                        out.print(form);
                    } else {
                        out.print(obtenFormulario(formulario));
                    }
                }

            }
        }
    }