JSP프로그래밍 개발 환경 설정하기(JDK, 톰캣,이클립스)
JDK설치 과정
OpenJDK JDK 21.0.1 GA Release
OpenJDK JDK 21.0.1 General-Availability Release This page provides production-ready open-source builds of the Java Development Kit, version 21, an implementation of the Java SE 21 Platform under the GNU General Public License, version 2, with the Classp
jdk.java.net
적당한 위치에 압축 푼 파일을 넣어두고,
> 환경 변수 JAVA_HOME
환경 변수를 새로 만들기 - 값을 JDK설치 폴더(예: C:/JSP/JDK21)로 설정해줍니다.
이클립스 설치완료
- 톰캣 과정
https://tomcat.apache.org/download-90.cgi
압축파일을 풀고 원하는 위치에 둔 다음
Tomcat을 시작해봅니다.
[설치파일]\bin\startup.bat(배치파일) 실행 후
웹 브라우저에 톰캣에 요청을 보내서 응답을 확인해봅니다.
http://localhost:8080/에 접속하면 아래와 같은 화면이 뜨면서 설치성공 표시가 됩니다.
종료시에는 shut down!!!