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