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
How can I override the jspdestroy() method within a jsp page?
How can information from one JSP be passed to another JSP?
What are the two types of comments supported by jsp?
How can I implement a thread-safe jsp page?
How do I perform browser redirection from a jsp page?
What is scriptlet, expression and declaration in jsp?
What is a scriptlet in jsp and what is its syntax?
What is a jsp directive?
What does .com stand for?
How can I use jsp in the mvc model?
How do you delete a cookie within a jsp?
What is session setattribute?
How are custom tags in jsp created?
How can we disable el?
What is the