What is the difference between RequestDispatcher and
sendRedirect?-

Answer Posted / nagababu

RequestDispatcher: server-side redirect with request and
response objects.
sendRedirect : Client-side redirect with new request and
response objects.

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the common methods that are included in the http servlet class?

580


Describe in brief RequestDespatcher?

596


Which method is called when reference variable is passed in system.net?

1838


Explain the working of service() method of a servlet.

508


Why the concept of single thread model interface is used?

556






List out the difference between ServletConfig and ServletContext?

609


What are the servlet events?

594


How can we refresh automatically when new data is entered into the database?

600


What is httpservlet class?

542


How servlet is created?

548


How can we upload the file to the server using servlet?

546


What is servlet? Explain

584


What are the types of Session Tracking ?

648


What are the advantages of Servlet over CGI?

670


What is the need of servlet filters?

542