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