Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="<c:url value="localhost:8080/CustomerRelationshipManagement/configureUpdate?
- firstName=${temp.firstName}&lastName=${temp.lastName}&email=${temp.email}"/>">Update</a>
- @RequestMapping(value="configureUpdate", method = RequestMethod.GET)
- public String configureUpdate(@RequestParam("firstName") String firstName,
- @RequestParam("lastName") String lastName, @RequestParam("email") String email,
- Model model)
- {
- Customer customer = new Customer(firstName, lastName, email);
- model.addAttribute("customer", customer);
- return "update-customer";
- }
Add Comment
Please, Sign In to add comment