-
JSP 생성 프로젝트, 실행JSP 2023. 3. 20. 10:21
1 _ eclips에서 프로젝트 생성
: New project 생성 -> Dynamic Web Project 실행
- 좌측에 다음과 같이 JSP 프로젝트가 생성됬다.
WebContent 폴더 내부에 .jsp 파일을 생성해서 사용한다.
해당 오류가 뜬다면,
window -> show view -> servers 창을 열고
아래쪽에 뜬 servers 창에 나온 에러 코드를 더블클릭한 후,
ports 칸에서 HTTP/1.1 의 Port Number를 변경한다.
Tomcat admin port = 8005
HTTP/1.1 = 8090 으로 설정하고 다시 실행하자.
여러개의 포트를 사용하는 경우 중복되지 않도록 주의해야한다.
'JSP' 카테고리의 다른 글
Request 기본 객체 (0) 2023.03.20 스크립트 요소 (0) 2023.03.20 JSP 의 구성요소 (0) 2023.03.20 웹 프로그래밍 기초 (0) 2023.03.20 톰캣 설치 / eclipse 와 연결하기 (0) 2023.03.20