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
How to generate the server side programming and the advantages of it over the other languages?
What are the uses of servlets?
Explain the servlet context.
Servlet is pure java object or not?
How do cookies work in servlets?
What is the major difference between context parameter and context attribute?
What is the inter-servlet communication?
How can we implement a jsp page?
request parameter how to find whether a parameter exists in the request object?
What is cookie in servlet?
What is meant by a servlet?
What is ServletContext object?
How do we translate jsp?
How we can get ip address of client in servlet?
How to get the IP address of client in servlet?