difference between sendredirect,forward and url rewritting

Answer Posted / md. abid hossain

Both SendRedirect and forward is used to forward the
request to another resource. In case of forward() container
does not report to the browser,it is happend within the
container..so objects which are stored in request is not
lost..bt in sendredirect coantainer report to browser and a
new url is displayed..so objects which are stored in
request is lost..
URL rewriting is technique of session tracking.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define declaration.

618


What is the directory structure of web application?

527


Can you create a deadlock condition on a servlet?

589


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

544


Why servlet is mostly used?

745






What is setattribute in servlet?

554


What is meant by a servlet?

604


What is http servlet in java?

562


How can you run a servlet program?

601


What is servlet lazy loading?

695


How a servlet is unloaded?

591


How do you load an image in a Servlet?

658


How can you create a session in servlet?

596


What is ServletConfig object?

606


Why session tracking is needed?

586