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
Can we use jstl in html?
What is response sendredirect?
What is an expression language?
What is error page in jsp?
How can we extend jsp technology?
Why do we need custom tags in jsp?
How to use jsp el to get http method name?
How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?
What are directives? What are the different types of directives available in jsp?
What is the use of jstl?
What are standard actions in JSP?
Differentiate between include directive and include action.
How does error handling occur with jstl?
Which jsp method cannot be overridden?
How can automatic creation of session be prevented in a jsp page?