What is the difference between RequestDispatcher and sendRedirect?

Q

What is the difference between RequestDispatcher and sendRedirect?

✍: Guest

A

RequestDispatcher: server-side redirect with request and response objects. sendRedirect : Client-side redirect with new request and response objects.

2013-08-19, 2750👍, 0💬