What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / nagababu
RequestDispatcher: server-side redirect with request and
response objects.
sendRedirect : Client-side redirect with new request and
response objects.
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What is servlet interface?
What is the use of java servlet api?
How is a servlet implemented in code?
What are different methods of session management in servlets?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is the use of servlet wrapper classes?
What is Servlet API used for connecting database?
What do you mean by scope object and what are its types?
What is the difference between get and post methods?
Why do we have servlet wrapper classes?
What is the directory structure of a war file?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
When a servlet accepts a call from a client, it receives two objects. What are they?
How can we invoke another servlet in a different application?
What are the different methods involved in generic servlet?