Description
Example | forward() | sendRedirect() |
|---|---|
| It works at server side. | It works at client side. |
| It sends the same request and response objects to another servlet. | It sends a new request. |
| Works within the server only. | It can be used within and outside the server. |
Key Points