What is the difference between RequestDispatcher and
sendRedirect?-
Answer Posted / kalyan
RequestDispatcher() method is executed in server-
side,requestdispatcher method is used to transfer the one
page to another serverside page .In this method we can use
the include() and forward() methods .
SendRedirect () method is directly into the client side ....
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What if you need to span your transaction across multiple servlet invocations?
Why HttpServlet class is declared abstract?
Why filter is used in servlet?
How to get the server information in a servlet?
What is the use of servlet wrapper classes?
How do you run a servlet?
Which HTTP method is non-idempotent?
What is a web container and what is its responsibility?
What is servlet in tomcat?
What are some advantages of storing session state in cookies?
What is the use of welcome-file-list?
What is the difference between 2 types of servlets?
How we can get ip address of client in servlet?
How does Cookies work in Servlets?
What is difference between server and servlet?