야나도 프로젝트

나도 개발자 될수있어

Web Programming

JAVA WEB 개발 환경 구축 및 첫 HTML

jmeen 2021. 8. 11. 16:11
728x90

JAVA WEBS 개발 환경 구축

- 브라우저 :

Chrome Chrome 웹브라우저 (google.com)

 

Chrome 웹브라우저

더욱 스마트해진 Google로 더 심플하고 안전하고 빠르게.

www.google.com

- 기본 웹 브라우저 -> Chrome 선택

- TOMCAT 설치 :

Apache Tomcat® - Apache Tomcat 8 Software Downloads

   - Tomcat 9 download. / Binary -> Core -> Win64 zip

 

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

- tomcat 압축 해제 -> 편한 위치에 복사.

 

Eclipse에 등록하기

- Project EXxplore 우클릭 -> NEW -> Other

- SERVER / Server 선택

- TOMCAT 9.0 템플릿 선택

- Tomcat 설치 위치 지정

 

인코딩 설정

Windows -> Preference


간단한 웹 프로젝트 구성

- 새로은 프로젝트 생성

프로젝트 이름 설정

- Generate web.xml deployment descriptor

 


 

 

HTML 5 선택해 오픈!

 

첫번째 HTML 작성

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HELLO HTML</title>
</head>
<body>
	<h3>HELLO, HTML</h3>
	<p>이것은 Jmeen이 만든 첫번쨰 HTML입니다.</p>
</body>
</html>

 

ctril + 11. Run on Server

웹 브라우저에서 보고 싶으면, Windows -> Web Browser-> Chrome 설정

크롬 브라우저에서 주소를 붙여넣으면 확인할 수 있다.

첫 HTML 페이지를 완성했다. 

'Web Programming' 카테고리의 다른 글

JSP 프로그래밍 연습  (0) 2021.08.13
JSP 태그  (0) 2021.08.13
Servlet & JSP 기초 - 2  (0) 2021.08.13
Servlet & JSP 기초  (0) 2021.08.12
웹 프로그래밍 - 동적 웹 페이지  (2) 2021.08.12