Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Write a hello world program using servlets.

1054


Which httpsession object is used to view and manipulate information about a session?

1159


When a servlet accepts a call from a client, it receives two objects. What are they?

1237


What is servlet mapping?

1014


What are the ways to handle multi-threading in servlets?

1076


What is the servletconfig object?

1035


What are sessions in servlets?

1062


What is the difference between encodeRedirectUrl and encodeURL?

1107


What are the kinds of http requests?

1032


How can a servlet be used to generate plain text instead of html?

947


Differentiate between the web server and application server?

1056


How can the session in servlet can be destroyed?

1177


How does java thread pool work?

1079


What is cgi and what are its drawbacks?

1059


What is a generic servlet?

956