difference between sendredirect,forward and url rewritting

Answer Posted / ravikiran.chd

sendRedirect will happen on the client side,forward will
happen on the server side,url rewriting will happen by the
browser to do session tracking when the cookies are disabled
by calling response.encodeURL(/abc) or
reponse.encodeRedirectURL(/abc)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the servlet interface?

605


What are the steps that are involved in using the httpservlet class?

583


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

572


What are common tasks performed by Servlet Container?

780


What are the benefits of using servlet over cgi?

588






What is the use of request dispatcher interface?

575


Which http method is said to be non-idempotent and idempotent?

616


Write the code to get the server information in servlet.

588


What methodology can be followed to store more number of objects in a remote server?

1825


What is the need of servlet filters?

550


How do servlets work?

548


Why the container loads server at the application startup and how?

590


Difference between doget and dopost?

690


Which is the methods of generated servlet?

690


What is ServletContext object?

655