ModelAndView object change with Ajax

1
 @GetMapping("/cadastrarProduto")
 public ModelAndView cadastrarProduto() {
     modelAndView = new ModelAndView("pages/index");
     addObject("produtoEntity", new ProdutoEntity());
     modelAndView;
 }

Is it possible with ajax to change the values of the attributes of the ProductEntity () object passed in the modelAndView of the above example?

    
asked by anonymous 11.01.2017 / 12:47

0 answers