wasup
Eclipse, Tomcat zip파일로 다운로드 및 환경 설정 본문
1. 다운로드 및 설치
톰캣 다운로드
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
새로 다운로드
www.eclipse.org/downloads/packages/release/2020-06/r/eclipse-ide-enterprise-java-developers
Eclipse IDE for Enterprise Java Developers | Eclipse Packages
Package Description Tools for developers creating Java Enterprise and Web applications, including a Java IDE, tools for Web Services, JPA and Data Tools, JSF, Mylyn, Maven and Gradle, Git, and more. Click here to file a bug against Eclipse Web Tools Platfo
www.eclipse.org
jre-8 다운로드
www.oracle.com/kr/java/technologies/javase-jre8-downloads.html
모든 다운로드 및 설치가 끝난 후 원하는 경로에 workspace폴더 생성해주고
실행파일 눌러줍니다.
2. 개발하면서 바로 테스트 하기 위해 Eclipse와 Tomcat연동
이클립스에서 Window -> Preference
3. 인코딩 -> UTF-8
이클립스에서 Window -> Preference
G -> WS -> Text file encoding -> Other : UTF-8
WEB -> CSS Files, HTML Files, JSP Files -> UTF-8
셋팅 확인
새로운 프로젝트 생성
테스트
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
start jsp project
</body>
</html>
실행
'IT > Java' 카테고리의 다른 글
Java) 제네릭) 제한된 타입파라미너, 와일드카드타입, 상속 (0) | 2021.05.04 |
---|---|
Java) 컬렉션, 람다식, 스트림, NIO에서 많이 사용하는 Generic (0) | 2021.05.03 |
Java) Thread 스레드 (0) | 2021.05.02 |
Java) DecimalFormat, time.LocalDate, time.LocalDateTime (0) | 2021.05.01 |
Java) Date (0) | 2021.04.30 |