From fe080cadbe96c8a9ceb0c30ca2ed630928e520e9 Mon Sep 17 00:00:00 2001 From: John Lin Date: Wed, 26 Sep 2018 16:20:41 +0800 Subject: [PATCH] Fix method name in the Contact sample code --- .../main/java/sample/contact/AddDeleteContactController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java b/samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java index bcf5233372..f045713c4c 100644 --- a/samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java +++ b/samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java @@ -69,7 +69,7 @@ public class AddDeleteContactController { } @RequestMapping(value = "/secure/del.htm", method = RequestMethod.GET) - public ModelAndView handleRequest(@RequestParam("contactId") int contactId) { + public ModelAndView delContact(@RequestParam("contactId") int contactId) { Contact contact = contactManager.getById(Long.valueOf(contactId)); contactManager.delete(contact);