Difference between forward and response.sendRedirect


Forward : when forward is used server forwards the request to the new url and the control stays on the same page. in other words it just forward the request to new url and come back fomr where forward is called.
sendRedirect : sendRedirect forward the request to url as new request and the cotrol goes to the destination page and never come back to the calling page 


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email