@EnableWebMvc 추가

master
mjkhan21 1 year ago
parent d8891c751f
commit e202897962

@ -4,6 +4,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.commons.CommonsMultipartResolver;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@ -19,6 +20,7 @@ import cokr.xit.foundation.web.AccessInitializer;
/**web mvc ( dispatcher servlet)
* @author mjkhan
*/
@EnableWebMvc
@Configuration
public class MvcConfig implements WebMvcConfigurer {
protected static String[] URL_PATTERNS = {"/", "/**/*.do"};

Loading…
Cancel
Save