public final String foo(HttpServletRequest request, BindingResult bindResult, ModelMap model) {
model.addAttribute("abc", 123);
return "foo";
}
When the view is displayed in the browser, it's URL is "http://mydomain/foo?abc=123".
Which of the following statements is true?
" class="related-a">
Given the method below:
@RequestMapping(value = "/foo", method = RequestMethod.GET)
public final String foo(HttpServletRequest request, BindingResult bindResult, ModelMap model) {
model.addAttribute("abc", 123);
return "foo";
}
When the view is displayed in the browser, it's URL is "http://mydomain/foo?abc=123".
Which of the following statements is true?