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
What do you mean by servlet context?
What is the difference between using getSession(true) and getSession(false) methods?
What are the functions of the servlet container?
How will two or three servlets interact or communicate with each other?
What is the disadvantage of cookies?
How do you invoke a servelt?
What is http servlet?
Explain the steps involved in placing a servlet within a package?
Explain get and post.
What is the difference between encodeRedirectUrl and encodeURL?
How to commuincate between an applet and a servlet?
What are the different methods involved in generic servlet?
What if you need to span your transaction across multiple servlet invocations?
What is context in servlet?
What are the different types of servlets?