setAllowRequestOverride(boolean allowRequestOverride) Set whether HttpServletRequest attributes are allowed to override (hide)
controller generated model attributes of the same name.
public void
setAllowSessionOverride(boolean allowSessionOverride) Set whether HttpSession attributes are allowed to override (hide)
controller generated model attributes of the same name.
public void
setExposeRequestAttributes(boolean exposeRequestAttributes) Set whether all request attributes should be added to the
model prior to merging with the template.
public void
setExposeSessionAttributes(boolean exposeSessionAttributes) Set whether all HttpSession attributes should be added to the
model prior to merging with the template.
public void
setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers) Set whether to expose a RequestContext for use by Spring's macro library,
under the name "springMacroRequestContext".
public void setAllowRequestOverride(boolean allowRequestOverride)(Code)
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
setAllowSessionOverride
public void setAllowSessionOverride(boolean allowSessionOverride)(Code)
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
setExposeRequestAttributes
public void setExposeRequestAttributes(boolean exposeRequestAttributes)(Code)
public void setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers)(Code)
Set whether to expose a RequestContext for use by Spring's macro library,
under the name "springMacroRequestContext". Default is "false".
See Also:AbstractTemplateView.setExposeSpringMacroHelpers
Fields inherited from org.springframework.web.servlet.view.UrlBasedViewResolver