Search in sources :

Example 1 with BeanNameViewResolver

use of org.springframework.web.servlet.view.BeanNameViewResolver in project spring-framework by spring-projects.

the class ViewResolverRegistry method beanName.

/**
	 * Register a bean name view resolver that interprets view names as the names
	 * of {@link org.springframework.web.servlet.View} beans.
	 */
public void beanName() {
    BeanNameViewResolver resolver = new BeanNameViewResolver();
    this.viewResolvers.add(resolver);
}
Also used : BeanNameViewResolver(org.springframework.web.servlet.view.BeanNameViewResolver)

Aggregations

BeanNameViewResolver (org.springframework.web.servlet.view.BeanNameViewResolver)1