diff --git a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java index 034026e..b2e307f 100644 --- a/src/main/java/cokr/xit/foundation/boot/MvcConfig.java +++ b/src/main/java/cokr/xit/foundation/boot/MvcConfig.java @@ -23,6 +23,7 @@ import com.fasterxml.jackson.dataformat.xml.XmlMapper; import com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator; import cokr.xit.foundation.web.AccessInitializer; +import cokr.xit.foundation.web.DownloadView; /**web mvc 설정(기존 dispatcher servlet) 클래스 * @author mjkhan @@ -138,4 +139,12 @@ public class MvcConfig implements WebMvcConfigurer { public RequestMappingHandlerMapping requestHandlers() { return new RequestMappingHandlerMapping(); } + + /**DownloadView를 반환한다. + * @return DownloadView + */ + @Bean + public DownloadView downloadView() { + return new DownloadView(); + } } \ No newline at end of file