Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
What is the difference between forwarding a request and redirecting a request?
REDIRECT:
Sends a header back to the browser, which contains the name of he resource to be redirected to. The browser will make a fresh equest from this header information. Need to provide absolute URL path.
Has an overhead of extra remote trip but has the advantage of being able to refer to any resource on the same or different domain and also allows book marking of the page.
FORWARD:
Forward action takes place within the server without the knowledge of the browser, for this no extra network trip is required.
Learn all you can
Learn all you can about the company or organization; learn as much as you can so that your questions are sophisticated and knowledgeable during the interview. Employers expect you to arrive knowing background information about the organization
Write a comment