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 is the workflow of a servlet?
Why don't we write a constructor in a servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is the difference in between the httpservlet and generic servlet?
What is meant by session? Tell me something about httpsession class?
What are the two important api's in for servlets?
Define the servlet mapping.
What do you mean by deployment descriptor?
How can an existing session be invalidated?
How we can get ip address of client in servlet?
What are the various ways of session supervision in servlets?
Why doesn’t a servlet include main()? How does it work?
How do we share data using 'getservletcontext ()?
Which protocol will be used by browser and servlet to communicate
What are the jobs performed by servlets?