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 the war file?

612


what do you understand by url rewriting?

546


Explain their methods? Tell me their parameter names also have you used threads in servlet?

583


What are the types of Session Tracking ?

648


Which interface should be implemented by all servlets?

700






Which java framework is most popular?

581


How to make sure a servlet is loaded at the application startup?

557


What is ServletContext object?

647


How can the session in servlet can be destroyed?

711


What is servlet in simple terms?

569


What is string tokenizer?

630


How can you create a session in servlet?

596


Why servlet is mostly used?

745


What are the advantages of Servlet over CGI?

666


What are the advantages of cookies?

632