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
Why are jsp pages preferred for creating web-based client program?
What is action tag in jsp?
How is jsp better than servlet technology?
Is jsp front end or backend?
Is jsp used?
What are context initialization parameters?
why ,what, when, where,how the extended star schema is used.
What is scriptlet and what is expression?
Can I stop jsp execution while in the midst of processing a request?
What is server side programming language?
How does a jsp engine work?
How to delete a cookie in jsp?
How do you delete the session data?
What is an api with example?
What is contextpath?