스프링
환경설정 스프링 레거시 프로젝트 생성 MVC 프로젝트로 만들기(spring.sts.CLASS) web.xml에서 필터 등록 <filter> <filter-name>encodingFilter</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodingFilter </filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> </filter> <filter-mapping> <filter-name>encodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <servlet> <servlet-name>filedownload</servlet-name> <servlet-class>spring.utility.webtest.FileDownload</servlet-class> </servlet> <servlet-mapping> <servlet-name>filedownload</servlet-name> <url-pattern>/download</url-pattern> </servlet-mapping> pom.xml에서 버전 변경 java version 1.8 프레임워크 버전 4.3.20 pom.xml에서 마이바티스 파일업로드 타일즈 등록 <!--MyBatis setting --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.2.2</version> </dependency> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis-spring</artifactId> <version>1.2.0</version> </dependency> <!-- DBCP setting --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>${org.springframework-version}</version> </dependency> <dependency> <groupId>commons-dbcp</groupId> <artifactId>commons-dbcp</artifactId> <version>1.4</version> </dependency> <!-- Tiles2 --> <dependency> <groupId>org.thymeleaf.extras</groupId> <artifactId>thymeleaf-extras-tiles2</artifactId> …@baealex
자바 스프링 환경설정

baealex님이 작성함
2019년 11월 12일 · 11 min read