@RequestMapping("/remove/{id}") public String removePerson(@PathVariable("id") int id) { employeeDAO.deleteById(id); return "redirect:/"; }