|
|
|
@ -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"};
|
|
|
|
|