use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class WebConfig method internalResourceViewResolver.
@Bean
public ViewResolver internalResourceViewResolver() {
final InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setViewClass(JstlView.class);
bean.setPrefix("/WEB-INF/view/");
bean.setSuffix(".jsp");
bean.setOrder(2);
return bean;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ControllerClassNameHandlerMappingConfig method viewResolver.
@Bean
public ViewResolver viewResolver() {
InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
viewResolver.setPrefix("/");
viewResolver.setSuffix(".jsp");
return viewResolver;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class WebMvcConfig method viewResolver.
@Bean
public InternalResourceViewResolver viewResolver() {
InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
viewResolver.setViewClass(JstlView.class);
viewResolver.setPrefix("/WEB-INF/view/");
viewResolver.setSuffix(".jsp");
return viewResolver;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class ClientWebConfigJava method viewResolver.
@Bean
public ViewResolver viewResolver() {
final InternalResourceViewResolver bean = new InternalResourceViewResolver();
bean.setViewClass(JstlView.class);
bean.setPrefix("/WEB-INF/view/");
bean.setSuffix(".jsp");
return bean;
}
use of org.springframework.web.servlet.view.InternalResourceViewResolver in project tutorials by eugenp.
the class WebConfig method viewResolver.
@Bean
public ViewResolver viewResolver() {
final InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
viewResolver.setPrefix("/WEB-INF/view/");
viewResolver.setSuffix(".jsp");
return viewResolver;
}
Aggregations