What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / sitaram
RequestDispatcher: Serverside redirect with same request
and response objects.
SendRedirect: Client-side redirect with new request and
response objects.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Difference between get and post in java servlets?
What is servlet and its advantages?
What is api in servlet?
What are the important functions of filters?
Explain web application directory arrangement?
What is a java servlet?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How to get the actual path of servlet in server?
why we should override only no-agrs init() method.
What is ServletConfig object?
What if you need to span your transaction across multiple servlet invocations?
Is servlet thread safe?
What is the difference between Servlets and Applets?
Write the code to get the server information in servlet.
What are different ways for authentication of servlet?