what is difference between redirect and forward method?
Answer Posted / kuljeet singh
forward() method sendRedirect() method
1) forward() sends the same request to another resource. 1) sendRedirect() method sends new request always because it uses the URL bar of the browser.
2) forward() method works at server side. 2) sendRedirect() method works at client side.
3) forward() method works within the server only 3) sendRedirect() method works within and outside the server.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can I run jsp on xampp?
How many tags are provided in jstl?
How do I prevent the output of my jsp or servlet pages from being cached by the browser?
What is the use of jstl?
What is the differences between the jsp custom tags and java beans?
What are the features of jsp?
What is session tracking in jsp?
What are implicit objects in jsp?
Explain the
What is jsp and why do we need it?
What is jsp? Explain
What is the purpose of jsp?
What is the use of session management?
Can you use javascript in jsp?
What is the default value of session attribute in jsp?