@RequestMapping("/") public String home(Model model) { model.addAttribute("employee", new Employee()); List<Employee> empList = employeeDAO.getAll(); model.addAttribute("employees", empList); return "home"; }