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 lifecycle phases of a jsp?
What is a tag file in jsp?
What is the use of session management?
What are scripting elements?
What is difference between jspwriter and servlet printwriter?
Explain the advantages of jsp?
What is jsp and its architecture?
How to configure init parameters for jsp?
What are the features of jsp?
How we can use javascript with jsp pages?
What program opens a jsp file?
What is the major difference between servletcontext and pagecontext?
What are the steps involved in reading data from a form using jsp?
how can i update the marque in jsp without changing the sourse code
Is jsp front end or backend?