ModelAndView method addObject

SpringMVC: ModelAndView's addObject method

addObject(String attributeName,Object attributeValue)

This method is equivalent to request.setAttribute, using the value of ${attributeName} directly on the page

Guess you like

Origin blog.csdn.net/weixin_42594143/article/details/112499288