분류 전체보기
-
06)MVC2 세팅JSP/공부 2021. 3. 30. 23:26
1. Dynamic web project 생성 2. 서버 연결 우클릭 → Add and Remove 3. DB 연결 WebContent/META-INF 폴더에 Servers/Tomcat에 있는context.xml 파일 넣기 4. 컨넥션 풀 사용 위한 DBCP API 파일(.jar) 4개 추가 WEB-INF/lib 폴더에 MySQL컨넥터 + commons 3형제 파일 넣기 commons.apache.org/ Collections / DBCP / Pool 5. Controller 설정 (파일 생성할 때 'class' ㄴㄴ 'servlet' ㅇㅇ)
-