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
What do you mean by custom tag in jsp?
What are the jsp tags?
Explain scriptlet, expression and declaration in jsp.
What is jsp api?
What language is jsp?
Give a sample jsp configuration in the deployment descriptor.
Explain the various scope values for tag.
Explain the uses of jsp?
What is jsp custom tag and what are it’s components?
What is the jsp?
Explain the difference between jspwriter and servlet printwriter in jsp?
What is the use of jstl?
What do you mean by jstl?
What is the purpose of
How to retrieve warnings?