자바

java 웹프로그래밍 초기설정

코딩하는둥이 2023. 9. 6. 16:44

1. 세개 다운로드하기 

eclipse IDE & Temurin AdoptOpenJDK(windows 설정 후 다운로드)

 

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


Intellij IDEA

 

IntelliJ IDEA – the Leading Java and Kotlin IDE

IntelliJ IDEA is undoubtedly the top-choice IDE for software developers. It makes Java and Kotlin development a more productive and enjoyable experience.

www.jetbrains.com

 

WAS(Web Application Server) : Tomcat (zip 파일)

 

Apache Tomcat® - Apache Tomcat 10 Software Downloads

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

tomcat.apache.org

 

 

new에 tomcat zip를 sjgrh bin의 상쉬 폴더를 선택한다

 

포트 번호 변경 가능

 

url

  : 자원의 위치를 기술하는데 사용되는 식별자(Identifier)를 의미한다.

 

www의 url 구문 구조

<http>://<domin_name>[:<port_number>]/<file_path>?<search_part>

scheme   웹서버의 심볼릭한 이름/ 호스트 ip  요청한 자원의 경로  웹 애플리케이션에게 전송되어야하는 매개 변수와 값들

 

HTTP(HyperText Transfer Protocol)

 정의 

: WWW 서비스에서 클라이언트와 서버 사이에서 통신할 때 사용하는 통 신 프로토콜(protocol)이다.

더보기

프로토콜

네트워크로 연결된 컴퓨터들이 서로 통신할 수 있도록 미리 정해놓은 규칙들 의 집합

  => 간단히 통신규약

 하나의 서비스는 하나 또 는 다수의 프로토콜과 포트를 가질 수 있다.

 

포트

 : 네트워크 서비스를 식별하기 위해 부여된 번호를 의미한다

 동작

    : 클라이언트 컴퓨터와 서버 컴퓨터는 HTTP을 이용하여 요청을 전송하 고, HTML 문서를 응답한다.

 

서버 연결하기

 

name, no 불러오기

out

 : JSP Internal Object - request, response ....

 

no의 값에 따라 반복 출력

간단한 카운트 만들기

 

 

 

 

 

'자바' 카테고리의 다른 글

[Java] JSP, Servlet 배워보기  (0) 2023.09.27
[Java] JSX, API, 한글 설정 해보기  (0) 2023.09.20
[Java] 예외처리  (1) 2023.01.15
[Java] 백준 기초 8  (1) 2023.01.08
[Java] 스트림  (1) 2023.01.08