What is difference between Forward() and sendRedirect()
methode?
Answer Posted / lala mishra
i will tell the conclusion of all
1. in case of forword() server will not inform client
2. in case of forword the same request will be sent to other
resourse so that request attribute will not distroy.
the opposite is for sendRedirect.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Explain the role of dispatcherservlet and contextloaderlistener.
Explain the differences between jsp and servlet.
What’s the difference between sendredirect and forward methods
What are different Authentication options available in Servlets.
What do you mean by singlethreadmodel interface?
What are the phases of the servlet life cycle?
What if you need to span your transaction across multiple servlet invocations?
How is an application exception handling is done using a servlet?
What is servlet and its advantages?
How will two or three servlets interact or communicate with each other?
Difference between java beans & servlets?
What is api in servlet?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What do you mean by cgi in servlet?
How can we perform any action at the time of deploying the project?