1
0
mirror of synced 2026-08-05 17:57:15 +00:00

SEC-1035: Updated build to use Spring 3.0.0.M1 Release

This commit is contained in:
Luke Taylor
2008-12-18 02:37:00 +00:00
parent 8f598e9b11
commit 8154161ef5
23 changed files with 265 additions and 186 deletions
@@ -19,7 +19,7 @@ import org.springframework.beans.factory.InitializingBean;
import org.springframework.util.Assert;
import org.springframework.web.bind.RequestUtils;
import org.springframework.web.bind.ServletRequestUtils;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
@@ -49,7 +49,7 @@ public class DeleteController implements Controller, InitializingBean {
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
int id = RequestUtils.getRequiredIntParameter(request, "contactId");
int id = ServletRequestUtils.getRequiredIntParameter(request, "contactId");
Contact contact = contactManager.getById(new Long(id));
contactManager.delete(contact);