You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
서블릿은 톰캣같은 웹 애플리케이션 서버를 직접 설치하고, 그 위에 서블릿 코드를 클래스 파일로 빌드해서 올린 다음 톰캣 서버를 실행하면 된다. 하지만 이런 번거로운 과정 대신 스프링 부트는 톰캣 서버를 내장하고 있으므로 톰캣 서버 설치 없이 편리하게 서블릿 코드를 실행할 수 있다.
@ServletComponentScan
서블릿을 직접 등록해서 사용할 수 있도록 지원하는 기능
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
섹션 2. 서블릿 (1)
1. 프로젝트 생성
https://start.spring.io/
스프링 부트 스타터 사이트를 통해 스프링 프로젝트 생성
2. Hello 서블릿
@ServletComponentScan서블릿을 직접 등록해서 사용할 수 있도록 지원하는 기능
HTTP 요청 메시지 로그로 확인하기
application.properties 에
logging.level.org.apache.coyote.http11=debug추가서블릿 컨테이너 동작 방식

3. HttpServletRequest - 개요
** HttpServletRequest 역할**
개발자가 HTTP 요청 메시지를 편리하게 사용할 수 있도록 개발자 대신 HTTP 요청 메시지를 파싱
4. HttpServletRequest - 기본 사용법
HttpServletRequest가 제공하는 기본 기능들 알아보기
start line 정보
헤더 정보
5. HTTP 요청 데이터 - 개요
HTTP 요청 메시지를 통해 클라이언트에서 서버로 데이터 전달 방법
All reactions