Problem in redirect.jsp changing the url-pattern

0

Recently I needed to change the url-patterns to be able to pick up the / name attribute of the pages, so I modified this value and put it in / * but it stops working the redirect.jsp  Web.xml:

 <servlet-mapping>
    <servlet-name>dispatcher</servlet-name>
    <url-pattern>/</url-pattern>
</servlet-mapping>

ControllerClass:

@Controller
@RequestMapping("Usuarios")
public class crudHibernateController   {

//Cargar los datos de la pagina central de clientes
@RequestMapping(method=RequestMethod.GET)
public String clientesListaModelView(@ModelAttribute(value="Clientes") 
Clientes c,org.springframework.ui.Model m){
.......
}

@RequestMapping(value="/insert")
public String clientesNameLista(@ModelAttribute(value="Clientes") Clientes 
c,org.springframework.ui.Model m){



}
@RequestMapping(value="/edit")
public String clientesNameLista(@ModelAttribute(value="Clientes") Clientes 
c,org.springframework.ui.Model m){



}
@RequestMapping(value="/delete")
public String clientesNameLista(@ModelAttribute(value="Clientes") Clientes 
c,org.springframework.ui.Model m){



}
    
asked by David Kenobi 24.12.2018 в 00:56
source

0 answers