If I add an attribute to a ModelMap:
model.addAttribute("abc", 123);
and display the view:
@RequestMapping(value = "/foo", method = RequestMethod.GET)
public final String foo(HttpServletRequest request, BindingResult bindResult, ModelMap model) {
model.addAttribute("abc", 123);
return "foo";
}
I see this in the browser address bar:
http://localhost:6060/foo?abc=123
Is it possible to add an attribute to the model without it showing up as query string name-value pairs? (I'm using Spring MVC 3.0)