인프런 커뮤니티 질문&답변
dispatcher.forward 질문 있습니다.
작성
·
281
퀴즈
Why is it difficult to directly create an HTML screen using only servlets?
Server resource shortage
Complexity of writing HTML inside Java code
Database Connection Problem
Challenges in user authentication
답변 1
0
안녕하세요. KimYongHwan님, 공식 서포터즈 David입니다.
forward 자체가 현재 서블릿에서 다른 리소스로 요청을 넘기는 작업이여서 그렇습니다.
이에 대한 설명은 forward 메서드 주석에 나와있으니 참고해주세요:)
Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server. This method allows one servlet to do preliminary processing of a request and another resource to generate the response.
감사합니다.




