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 difference between portlet and servlet?
Why is a constructor needed in a servlet even if we use the init method?
What is servlet container?
What are the differences between forward() method and sendredirect() methods?
What are the type of protocols used in httpservlet?
What is servlet and how it works?
Whats the advantages using servlets over using CGI?
What is meant by servlet? What are the parameters of the service method?
Explain the steps involved in placing a servlet within a package?
What is the use of attribute in servlets?
Write all the phases defined in servlet life cycle?
What is meant by Servlet? What are the parameters of service method?
What are the different methods involved in the process of session management in servlets?
What is servlet and its life cycle?
What are the uses of servlet and what is servlet chaining?