What is the difference between <jsp:forward> and
sendRedirect?
Answer Posted / mahmood alam siddiqui
Forwrd :: when we invoke forward the request is sent to the
another resource on the server without the client being
inform that difference resource is going to process that
request.
SendRedirect :: when we invoke sendRedirect, It causes the
web container to return to the brouser that means new URL
should be requested.
SendRedirecr takes extra round trip
Forward is fater than sendRedirect
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the need for jsp?
How can I set a cookie and delete a cookie from within a jsp page?
How we can include the result of another page in jsp?
Why is used in jsp?
What is jsp and how it works?
how can i update the marque in jsp without changing the sourse code
What is jsp and its features?
Explain the jspdestroy() method?
What are the different directives in jsp?
What are the different life-cycle methods?
What is c tag in jsp?
What is client scripting?
Why jsp is used instead of html?
How can I extend the functionality of jsp?
What is jsp include tag?