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

Explain is servlet mapping?

578


What are the differences between servlet context vs servlet config?

575


What is a web application and what is it’s directory structure?

582


What mechanisms are used by a Servlet Container to maintain session information?

666


What is servlet mapping?

595






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

542


How to get the IP address of client in servlet?

623


How can I send user authentication information while making URL Connection?

541


How to create war file?

611


Which httpsession object is used to view and manipulate information about a session?

727


Define declaration.

616


What are the functions of the servlet container?

1027


What are the life cycle methods of a servlet?

591


How we can get ip address of client in servlet?

535


What is servlet instance?

540