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

What is setattribute in servlet?

1063


What is the default http method in the servlet?

1236


What is the difference between forward () and sendredirect () functions in servlet? Explain

980


Which java framework is most popular?

1068


What's the advantages using servlets than using cgi?

946


What is servlet used for?

1093


What mechanisms are used by a Servlet Container to maintain session information?

1111


What is the use of httpservletresponsewrapper?

912


Define servlet mapping?

1111


What is the difference between the http servlet and generic servlet?

1091


What must be implemented by all servlets?

1042


How can we implement a jsp page?

1075


Explain the steps involved in placing a servlet within a package?

990


Can we get PrintWriter and ServletOutputStream both in a servlet?

1101


Why do we have servlet filters?

976