What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / hitler
The RequestDispatcher is executed in server side, request will
send to one server side program to another server side
programe.advantage of RequestDispatcher is executed fastly in
server side.,
The response.sendRedirct(..) is executed in browser side means
the request url will send to browser url , advantage of
sendRedirect(..) is can intract with one application to
another application.
depand on situvation we are used ..
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
request parameter how to find whether a parameter exists in the request object?
How do you create a cookie using servlet?
What is the difference between using getSession(true) and getSession(false) methods?
What is the inter-servlet communication?
Is servlet a framework?
What is servlet container?
Which HTTP method is non-idempotent?
Differentiate between the web server and application server?
What is a servlet context?
Explain the different ways for servlet authentication?
Which is better jsp or servlet?
How forward () method is different from send redirect () method?
What is the use of servletconfig interface?
Name the different ways of session tracking.
What are the difference between RMI and Servlets?