difference between sendredirect,forward and url rewritting

Answer Posted / ravikiran

forward is a teqnique used to delegate the response to a new
resource and happens on the server side.And we cann't
forward a response to a resource residing on different machine.
Sendrediredt is the techinque used to delegate the response to
other webapplication,which may reside on different machine
as well.
Url rewriting is a technique used for session tracking when
the cookies are disabled,to transfer the session id back and
forth between the clent and the server

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many servlet objects are created?

561


How httpservlet is different from the genericservlet?

562


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

515


How can we perform any action at the time of deploying the project?

621


What are the advantages of Servlet over CGI?

662






Why do we have servlet filters?

597


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

2916


Explain in brief the directory structure of a web application?

566


What are the uses of servlet

629


What is context in servlet?

540


If a servlet is not properly initialized, what exception may be thrown?

623


Differentiate between the web server and application server?

560


What do you mean by deployment descriptor?

552


What is servlet configuration?

525


What do you mean by chaining in servlet?

573