What is difference between Forward() and sendRedirect()
methode?

Answer Posted / abilash

more over the above answers forward will carry the same
request to the new page.So we can get the values stored in
request.

while in sendRedirect it won't have the same request.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How forward () method is different from send redirect () method?

517


What are the disadvantages of storing session state in cookies?

631


How to upload a file to the server using servlet?

533


How to create war file?

619


Why are servlets used?

534






Why servlet is mostly used?

748


Why is Servlet so popular?

618


What do you mean by web applications?

629


What are the jobs performed by servlets?

585


How to get the server information in a servlet?

685


What is a servlet?

611


What are different Authentication options available in Servlets.

569


What is Servlets and explain the advantages of Servlet life cycle?

585


How we can get ip address of client in servlet?

544


What's the difference between authentication and authorization?

554