[Spring] Servlet과 Spring


[Spring] Servlet과 Spring

[Spring] Servlet과 Spring 1. 서블릿이란? 서버 어플리케이션 조각 -> Server Application Let -> Servlet 처음 웹서버는 클라이언트의 요청에 따라 정적인 페이지로만 응답할 수 있었다. 웹 서버에 동적인 프로그램을 붙여서 페이지를 보여주는 것이 서블릿 방식이다. 1) 서블릿이 생겨난 이유 http 요청과 응답은 다음과 같다. //request GET /api/products HTTP/1.1 Content-Type: application/json User-Agent: PostmanRuntime/7.28.0 Accept: */* Postman-Token: abfcbcf8-9317-430c-86b9-c00020eb736e Host: localhost:8080 Acce..


원문링크 : [Spring] Servlet과 Spring