What is the difference between requestdispatcher.forward and response.sendredirect?
Answers
Answered by
1
This is also called server side redirect. A RequestDispatcher forward() is used to forward the same request to another resource whereas ServletResponse sendRedirect() is a two step process. In sendRedirect(), web application returns the response to client with status code 302 (redirect) with URL to send the request.
Answered by
0
Answer:
Above answer is perfect
Similar questions