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

What do you mean by filter in servlet?

534


What is servlet? Explain

577


What is the procedure of invoking different servlet in a different application?

559


What do you mean by interservlet communication?

580


What is servlet in web technology?

575






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

582


List some life cycle methods of a servlet.

589


What must be implemented by all servlets?

574


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

584


What is servlet used for?

694


Explain session tracking and its importance?

544


Define context initialization parameters.

572


Why servlet is faster than jsp?

562


What is the purpose of dispatcherservlet properties?

508


Explain the differences between jsp and servlet.

537