Problem when redirecting CSS

0

I have a situation. I have a clients form in JSP with the name 'add_clients.jsp' that what it does is save data in the BD. Everything works very well, and when saving the data I want the page to redirect it to "table_clients.jsp" that contains the table of the records. All good; but the problem I have is that once redirected, the page "table_clients.jsp" appears without the CSS (without the CSS style). All the pages that I have are opened if problems manually, but when redirecting it, all the styles are lost. What I use to redirect is a servlet.

if (request.getParameter("btn_insertar") != null) {
  //Boton insertar 
  cli.setRuc(request.getParameter("txt_ruc"));
  cli.setRazon_social(request.getParameter("txt_razon"));
  cli.setSexo(request.getParameter("cbo_sexo").toString());
  cli.setCompania(request.getParameter("txt_compania"));
  cli.setDomicilio(request.getParameter("txt_domicilio"));
  cli.setCiudad(request.getParameter("cbo_ciudad").toString());
  cli.setBarrio(request.getParameter("cbo_barrio").toString());
  cli.setTelefono_fijo(request.getParameter("txt_tel_fijo"));
  respuesta = evento.insertar(cli);
  rd = request.getRequestDispatcher("vista/clientes/tabla_clientes.jsp");
}

As I said, the url is correct; the problem is that the styles are lost: (

    
asked by Adolfi Téllez 09.01.2018 в 17:14
source

0 answers