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

Which exception is thrown if the servlet is not initialized properly?

984


What are the drawbacks of cgi?

968


Why the concept of single thread model interface is used?

938


What are the common methods that are included in the http servlet class?

1004


What is meant by a web application

976


Why servlet is used as controller ? Not JSP? I want complete explation?

1092


Tell us something about servletconfig interface.

955


What are the types of an http request?

1100


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1066


Servlet is pure java object or not?

1152


Define the lifecycle for executing a jsp page.

1045


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1055


What is meant by servlet? What are the parameters of the service method?

974


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1040


What is meant by a servlet?

1055