@santos.fernando escreveu:
Estou tentando configurar a anotação do sem xml, conforme o código abaixo, para adicionar minhas páginas js/css dentro, mas não estou conseguindo.
public class AppWebConfiguration { @Bean public InternalResourceViewResolver internalResourceViewResolver() { InternalResourceViewResolver resolver = new InternalResourceViewResolver(); resolver.setPrefix("/WEB-INF/views/"); resolver.setSuffix(".jsp"); // <mvc:resources mapping ="/resources/** location="/resources/"/> return resolver; } }
Mensagens: 1
Participantes: 1