Spring MVC/request.setAttribute()/response.setAttribute()

2022. 6. 11. 01:25
728x90

request.setAttribute()는 보통 요청으로 만들어진 객체에 추가적인 정보를 담아서 템플릿에서 쓰려고 할 때 자주 쓰임,

response.setAttribute()는 응답하기 위해 객체에 정보를 추가할 때 쓴다.

BELATED ARTICLES

more