{"id":17054329,"url":"https://github.com/integerous/jsp_practice","last_synced_at":"2025-09-10T11:36:33.086Z","repository":{"id":107434927,"uuid":"137428821","full_name":"Integerous/JSP_Practice","owner":"Integerous","description":"JSP 학습 저장소","archived":false,"fork":false,"pushed_at":"2018-06-15T03:35:05.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T05:44:48.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Integerous.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T01:54:24.000Z","updated_at":"2018-12-22T05:01:54.000Z","dependencies_parsed_at":"2023-05-17T11:30:36.535Z","dependency_job_id":null,"html_url":"https://github.com/Integerous/JSP_Practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Integerous/JSP_Practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integerous%2FJSP_Practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integerous%2FJSP_Practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integerous%2FJSP_Practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integerous%2FJSP_Practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integerous","download_url":"https://codeload.github.com/Integerous/JSP_Practice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integerous%2FJSP_Practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274455654,"owners_count":25288557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T10:14:34.499Z","updated_at":"2025-09-10T11:36:33.054Z","avatar_url":"https://github.com/Integerous.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSP 학습 저장소\n\n## JSP(Java Server Page)\n  - HTML 파일 내에 Java언어를 삽인한 문서\n  - 동적 웹 어플리케이션 컴포넌트\n  - .jsp 확장자\n  - 클라이언트의 요청에 동적으로 작동하고, 응답은 html을 이용\n  - jsp는 servlet으로 변환되어 실행\n  - hello.jsp는 실행될 때 hello_jsp.java로 변환되고, hello_jsp.class로 컴파일된다.\n    - 경로는 톰캣 - work - catalina - localhost - 프로젝트명 폴더\n## Servlet(Server Applet)\n  - Java 언어로 이루어진 웹 프로그래밍 문서\n  - 동적 웹 어플리케이션 컴포넌트\n  - .java 확장자\n  - 클라이언트의 요청에 동적으로 동작하고, 응답은 html을 이용\n## Context Path\n  - WAS에서 웹어플리케이션을 구분하기 위한 path\n  - 이클립스에서 프로젝트를 생성하면, 자동으로 servlet.xml에 추가된다.\n## Servlet 작동 순서\n  - 클라이언트에서 servlet 요청이 들어오면, 서버에서는 servlet 컨테이너를 만들고 요청이 있을 때마다 쓰레드가 생성된다.\n  - 클라이언트 요청 -\u003e 웹서버 -\u003e WAS -\u003e Servlet Container(쓰레드 생성, 서블릿객체 생성)\n  - Servlet은 요청이 들어오면 JVM 안에서 쓰레드를 생성하므로 다른 CGI 언어들과 다르게 서버 부하가 적게 발생. (다른 CGI는 요청 있을때마다 객체 생성)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegerous%2Fjsp_practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegerous%2Fjsp_practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegerous%2Fjsp_practice/lists"}