spring-framework / org.springframework.web.servlet.view / AbstractTemplateViewResolver / setAllowSessionOverride

setAllowSessionOverride

open fun setAllowSessionOverride(allowSessionOverride: Boolean): Unit

Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. Default is "false", which causes an exception to be thrown if session attributes of the same name as model attributes are found.

See Also
AbstractTemplateView#setAllowSessionOverride