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 the major difference between context parameter and context attribute?
What do you mean by scope object and what are its types?
Explain jsessionid and when is it created?
How we can call a jsp from the servlet?
What is cgi and what are its drawbacks?
What do you mean by session tracking and also explain its techniques?
How can you use a servlet to generate a plain text instead of html?
What's the difference between servlets and applets?
What do you mean by a filter and how does it work?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is the difference between the servlets and cgi programs?
Servlet is pure java object or not?
Why filter is used in servlet?
What is MIME Type?
Describe in brief RequestDespatcher?