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 call servlet from jsp?
How can I prevent the output of my jsp or servlet pages from being cached by the browser?
What is server side programming language?
What do you know about jsp expression language (jsp expression language – el)?
Is jsp better than servlet?
List down the major differences between the jsp custom tags and java beans.
How to find out the name of the http method using jsp el?
What is a expression?
Why do we need servlets and jsp?
What is JTGrid?
Can any one explain about the project Approximate shortest distance computing:A query dependent local landmark scheme
Explain static method?
What are the features of jsp?
What is meant by jsp?
How can automatic creation of session be prevented in a jsp page?