示例#1
0
  @Override
  public void configureViewResolvers(ViewResolverRegistry registry) {

    super.configureViewResolvers(registry);

    registry.jsp("/WEB-INF/jsp/", ".jsp");
  }
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
   viewResolver.setViewClass(JstlView.class);
   viewResolver.setPrefix("/WEB-INF/views/");
   viewResolver.setSuffix(".jsp");
   registry.viewResolver(viewResolver);
 }
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   UrlBasedViewResolver resolver = new UrlBasedViewResolver();
   resolver.setPrefix("/WEB-INF/classes/templates/");
   resolver.setSuffix(".html");
   resolver.setViewClass(InternalResourceView.class);
   registry.viewResolver(resolver);
 }
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   registry.jsp(Kte.DIRECTORIO_VISTAS, ".jsp");
 }
 /** {@inheritDoc} */
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   registry.jsp("/WEB-INF/", ".jsp");
 }
示例#6
0
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   registry.freeMarker();
 }
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   registry.viewResolver(tilesViewResolver());
 }
示例#8
0
 @Override
 public void configureViewResolvers(ViewResolverRegistry registry) {
   registry.tiles();
 }