コード例 #1
0
 /*
  * This method will delete an employee by it's SSN value.
  */
 @RequestMapping(
     value = {"/delete-{ssn}-employee"},
     method = RequestMethod.GET)
 public String deleteEmployee(@PathVariable String ssn) {
   service.deleteEmployeeBySsn(ssn);
   return "redirect:/list";
 }