@RequestMapping("/remove/{documentId}") public String remove(@PathVariable("documentId") Integer documentId) { documentService.remove(documentId); return "redirect:/doc/index"; }