본문 바로가기

Servlet&JSP

011 - 이클립스를 이용한 서블릿 프로그래밍

http://localhost:8080/JSPPrj/index.html

project를 개발할 때 root에 해당하는 프로젝트는 context 이름을 갖는 게 좋지 않음.

프로젝트명을 context로 쓰지 않기 위하여

프로젝트명 오른쪽 클릭 -> Properties -> Web Project Settings 에서

Context root 가 JSPPrj로 되어있는데 이를 / 로 변경.

Servers에서 JSPPrj 삭제한 후 재실행

http://localhost:8080/index.html