src/main/java/com/kiesoft/sstarter/config/WebMVC.java
// Set up JSTL and JSP views
Set up JSTL and JSP views
Set up JSTL and JSP views
@Bean
    public InternalResourceViewResolver viewResolver() {
        InternalResourceViewResolver resolver = new InternalResourceViewResolver();
        resolver.setViewClass(JstlView.class);
        resolver.setPrefix("/WEB-INF/views/");
        resolver.setSuffix(".jsp");
        return resolver;
    }
@ Bean public InternalResourceViewResolver viewResolver ( ) { InternalResourceViewResolver resolver = new InternalResourceViewResolver ( ) ; resolver . setViewClass ( JstlView . class ) ; resolver . setPrefix ( "/WEB-INF/views/" ) ; resolver . setSuffix ( ".jsp" ) ; return resolver ; }
Set up JSTL and JSP views
Set up JSTL and JSP views