Skip to content

Commit fe080ca

Browse files
johnlinprwinch
authored andcommitted
Fix method name in the Contact sample code
1 parent 68ffa0f commit fe080ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/xml/contacts/src/main/java/sample/contact/AddDeleteContactController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public String addContact(WebContact form, BindingResult result) {
6969
}
7070

7171
@RequestMapping(value = "/secure/del.htm", method = RequestMethod.GET)
72-
public ModelAndView handleRequest(@RequestParam("contactId") int contactId) {
72+
public ModelAndView delContact(@RequestParam("contactId") int contactId) {
7373
Contact contact = contactManager.getById(Long.valueOf(contactId));
7474
contactManager.delete(contact);
7575

0 commit comments

Comments
 (0)