Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RequestMapping(value="updateCustomer", method=RequestMethod.GET)
- public String updateCustomer(@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";
- }
- <td>
- <a href="localhost:8080/CustomerRelationshipManagement/updateCustomer?firstName=${temp.firstName}&lastName=${temp.lastName}&email=${temp.email}">Update</a>
- </td>
Add Comment
Please, Sign In to add comment