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

Explain the working of service() method of a servlet.

506


What is cgi and what are its drawbacks?

553


What is the difference between servlet and filter?

528


What is getservletcontext?

550


What is difference between GenericServlet and HttpServlet?

571






What exactly is a servlet?

542


How can we achieve transport layer security for our web application?

571


how many jsp scripting elements are there and what are those?

542


What methods do you use in servlet - applet communication?

584


Whether thread can be used in servlets?

728


What is the element?

588


request parameter how to find whether a parameter exists in the request object?

573


What do you mean by session tracking?

668


What is servlet and its life cycle?

571


What's the servlet interface?

596