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 are the possible values for language directive?
Mention the scope values for
What is a hidden comment in jsp?
What is contextpath in jsp?
What is el in jsp?
How do I save a jsp file?
How to make a “new line in html” in jsp?
What do you mean by jsp directives?
What are directives in jsp?
Why jsp is used instead of html?
How clear chache and buffer of opera browser.
How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?
What is jsp standard tag library, provide some example usage?
Which jsp life cycle is in correct order?
What are the advantages of jsp?