Just a clarification. Is ModelAndView object.addAttribute() equivalent to request.setAttribute. I went through a Spring MVC example the author added an attribute with ModelAndView object.addAttribute(), then in the jsp retrieved it with request.getAttribute().
I tried the same example, it worked for me. Any thoughts on this?