KEEP GOING

JSP 게시판 만들기 - (1) JDK, Tomcat, Eclipse 설치 본문

web

JSP 게시판 만들기 - (1) JDK, Tomcat, Eclipse 설치

jmHan 2022. 5. 26. 11:34
반응형

 

JSP 게시판 구현을 위해 먼저 필요한 도구들을 설치해야 합니다.

해당 영상을 참고하여 설치를 진행하면 됩니다. 

https://www.youtube.com/watch?v=wEIBDHfoMBg&list=PLRx0vPvlEmdAZv_okJzox5wj2gG_fNh_6 

 

 

 

1. Apache tomcat 설치 (tomcat 8.5)

https://tomcat.apache.org/download-80.cgi 

 

Apache Tomcat® - Apache Tomcat 8 Software Downloads

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

tomcat.apache.org

 

2. JDK 설치 (jdk 11.0.15)

https://www.oracle.com/java/technologies/downloads/

 

3. 이클립스 설치 (Eclipse IDE for Enterprise Java and Web Developers)

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

 

4. 이클립스 프로젝트 생성

 

 

5. hello world 출력

index 페이지는 홈페이지의 첫 화면 즉, 가장 기본이 되는 페이지를 의미한다. 

 

[index.jsp]

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Hello world!</title>
</head>
<body>
    <h1>Hello world!</h1>
</body>
</html>

 

[index.jsp 실행시]

반응형
Comments