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

setAllowRequestOverride

open fun setAllowRequestOverride(allowRequestOverride: Boolean): Unit

Set whether HttpServletRequest 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 request attributes of the same name as model attributes are found.

See Also
AbstractTemplateView#setAllowRequestOverride