adspace
What is difference between sendredirect and forward?
Answer Posted / Akhtar Israr Ahmad
sendRedirect() sends an HTTP redirect response to the client, forcing a new request from the client to be sent to a specified URL. The original request remains in the server's process pool until it is completed. On the other hand, forward() does not generate any response and transfers control to another JSP or servlet within the same application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers