use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class WebMvcConfigure method getViewResolver.
@Bean
public ViewResolver getViewResolver() {
InternalResourceViewResolver resolver = new InternalResourceViewResolver();
resolver.setPrefix("/WEB-INF/");
resolver.setSuffix(".jsp");
return resolver;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ApplicationConfiguration method jspViewResolver.
@Bean
public InternalResourceViewResolver jspViewResolver() {
InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setPrefix("/WEB-INF/views/");
bean.setSuffix(".jsp");
return bean;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ApplicationConfig method viewResolver.
@Bean
public ViewResolver viewResolver() {
final InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setViewClass(JstlView.class);
bean.setPrefix("/WEB-INF/jsp/");
bean.setSuffix(".jsp");
return bean;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ClientWebConfig method viewResolver.
@Bean
public ViewResolver viewResolver() {
final InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setViewClass(JstlView.class);
bean.setPrefix("/WEB-INF/view/");
bean.setSuffix(".jsp");
bean.setOrder(0);
return bean;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ContentManagementWebConfig method viewResolver.
@Bean
public ViewResolver viewResolver() {
final InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setViewClass(JstlView.class);
bean.setPrefix("/WEB-INF/view/");
bean.setSuffix(".jsp");
bean.setOrder(0);
return bean;
}
Aggregations