Posts by Ricardo Almeida • 1 point
1 post
-
0
votes2
answers1318
viewsA: Problem when passing polluted bean to controller and insert in BD using Java with Spring mvc
This is your way @RequestMapping(value = "/inserirProduto", method = RequestMethod.POST) public String save(@ModelAttribute("produto") Produto produto){ //sua logica aqui } Note that you are sent…