Notice
Recent Posts
Recent Comments
Link
관리 메뉴

데브마우스

[JSP]JDK17을 활용한 Java Server Pages(JSP) 환경 구축 방법 본문

JSP/JSP: 환경 구축 방법

[JSP]JDK17을 활용한 Java Server Pages(JSP) 환경 구축 방법

데브마우스 2023. 11. 30. 21:51

이 글에서는 JDK 17을 활용하여 JSP 환경을 구축해보도록 하겠습니다.

필요한 소프트웨어는 다음과 같습니다.

  • JDK 17(자바 개발 환경)
  • 톰캣 9.0.84 (웹 서버)
  • 이클립스 (통합 개발환경)

JDK 17

JDK는 오라클 공식 홈페이지에서 다운로드 하실 수 있습니다.

https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html

 

Java Archive Downloads - Java SE 17

WARNING: These older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. For production use Oracle recommends downloading th

www.oracle.com

 

톰캣

톰캣 9.0.84는 아래 링크에서 다운로드 하실 수 있습니다.

https://tomcat.apache.org/download-90.cgi#9.0.84

 

Apache Tomcat® - Apache Tomcat 9 Software Downloads

Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version

tomcat.apache.org

Core: 항목의 파일을 다운로드 하신 후 윈도우는 C:드라이브 경로에서 압축을 해제하시면 됩니다.

 

만약 F11이나 Alt + Shift + X로도 실행이 안될 경우 프로젝트를 마우스 우클릭합니다.

[Properties]를 클릭합니다.

Dynamic Web Module의 Version을 4.0으로 변경하고 Runtimes 탭에서 Apache Tomcat v9.0을 추가합니다. 

그 뒤 서버를 실행시켜보세요.

이클립스

이클립스는 아래 링크에서 다운로드하실 수 있습니다.

https://www.eclipse.org/downloads/

 

Eclipse Downloads | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.

www.eclipse.org

이때 다운로드 하실 때 주의해야할 점이 있습니다. Eclipse IDE for Enterprise Java and Web Developer를 클릭하셔야합니다.