I'm developing an application and when I click on save it redirects to where I want it updated. But if I refresh the page it asks if I want to take advantage of the data passed before, I would not want that to happen
That's how I'm doing:
boolean teste = cc.inserir(curso);
RequestDispatcher rd = req.getRequestDispatcher("/index.jsp");
rd.forward(req, resp);