spring-framework / org.springframework.web.servlet.view / XmlViewResolver / setLocation

setLocation

open fun setLocation(location: Resource): Unit

Set the location of the XML file that defines the view beans.

The default is "/WEB-INF/views.xml".

Parameters

location - the location of the XML file.