@RequestMapping(value = "/deposit", method = RequestMethod.GET) public String createDepositPage(Model model) { model.addAttribute("deposit", new DepositForm()); model.addAttribute("names", accountService.getCustomersNames()); model.addAttribute("indexes", depositService.getBankIndexes()); return "operator/deposit"; }