Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

Which one of the following is NOT true about the followng code: @Controller @RequestMapping("/reservationForm") @SessionAttributes("reservation") public class ReservationFormController { ... @RequestMapping(method = RequestMethod.POST) public String submitForm(@ModelAttribute("reservation") Reservation reservation, BindingResult result) { ... return "redirect:reservationSuccess"; } ... }

The redirect: prefix in the view name is used to avoid a problem known as duplicate form submission.
The BindingResult object is used to map the user request to the controller method.
The @SessionAttributes is used to save a Reservation object to a user’s session.
The @ModelAttribute("reservation") is used to reference the Reservation object.
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon