-
웹 어플리케이션 배포 ( eclips - tomcat )JSP 2023. 3. 21. 10:35
웹 어플리케이션을 WAS에 배포하는 방법은 두 가지 방법이 있다.
- 대상 폴더에 파일을 직접 복사
- war 파일로 묶어서 배포
톰캣에 war 파일 배포
1. 배포하고자 하는 프로젝트를 .war 파일로 만든다.
- 배포할 프로젝트를 export - WAR file로 만든다.
2. .WAR 파일은 톰캣의 webapps 폴더에 저장된다.
3. bin 폴더의 Tomcat8.5w 를 실행해서 Window로 톰캣을 실행시킨다
- Servie Status를 Started로 만든다.
- 결과로 webapps 폴더에 해당 프로젝트 파일이 생성되고, 정상적으로 배포가 완료된 것이다.
** eclips로 톰캣이 실행중이라면 충돌이 일어날 수 있으므로 주의하자.
'JSP' 카테고리의 다른 글
JSP 기본 객체, 속성 사용하기 (0) 2023.03.21 out 기본 객체 (0) 2023.03.21 JSP 처리 과정 (0) 2023.03.21 response 기본 객체 (0) 2023.03.21 Get 방식 전송과 Post 방식 전송 (0) 2023.03.21