Published on August 08, 2021 by Eunbi.N
스프링 세팅 Spring Legacy Project pom.xml
spring 설치 - STS / eclipse-marketplace
maven, apache tomcat, jQuery, ojdbc6, taglibs(compat,impl,jstlel,spec) : setting check
인코딩 - preferences encoding UTF-8, spelling UTF-8;
*tip) java 자동완성 툴 : preference - editor - content assist - autoActivation java
→ .qwertyuioplkjhgfdsazxcvbnm_QWERTYUIOPLKJHGFDSAZXCVBNM
Spring Legacy Project 생성
pom.xml : DB연결 Lib, Security Lib, 파일업로드 Lib,..→ mvnrepository.com
→ pom.xml
web.xml : Servlet Mapping, 인코딩필터, 공용에러페이지 (exception→error) 등록
context-param(root-context, servlet-context, security.xml)
→ web.xml
root-context : bean객체 생성
(driver, sqlSession, Template, transaction 등록), 파일업로드 bean, size 규정
mybatisconfig : window- preferences - xml Catalog Entries -> DTD 등록
mappers - 매퍼 등록 (쿼리 연결) window- preferences - xml Catalog Entries - DTD 등록