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 a web container and what is its responsibility?
How do you invoke a servelt?
What are different ways for authentication of servlet?
How do you configure a centralized error handler in servlets?
What are the functions of Servlet container?
Which is better jsp or servlet?
What is the use of httpservletresponsewrapper?
Explain is servlet mapping?
Can we fetch the attributes related to a servlet on a different servlet?
Who is responsible to create the object of servlet?
What are all the ways for session tracking?
Can we use the constructor, instead of init(), to initialize servlet?
What are the types of servlet?
What is life cycle of Servlet?
What exactly are the functions of servlet?