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 is servlet and its use?
What is called servlet mapping?
What's the servlet interface?
Why session tracking is needed?
Name the different ways of session tracking.
What are the mechanisms used by a servlet container for maintaining session information?
What is meant by cookies?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What is cgi and what are its drawbacks?
What is servlet api used for conneting database?
What are the types of protocols supported by httpservlet ?
How printwriter is different from servletoutputstream?
What is servlet container. how it works?
What is Servlets and explain the advantages of Servlet life cycle?
What is the