@Bean
    @Order(1)
    public ViewResolver getViewResolver() {
        InternalResourceViewResolver resolver = new InternalResourceViewResolver();
        resolver.setViewClass(JstlView.class);
        resolver.setPrefix("/WEB-INF/resources/");
        resolver.setSuffix(".jsp");
        return resolver;
    }
JSP / HTML views and resource bean definitions.
samples/spring-mvc/src/main/java/org/apache/shiro/samples/spring/config/JspViewsConfig.java