response.sendRedirect() and RequestDispatcher.forward() require instance of HttpSession
response.sendRedirect() and PageContext.forward() could be used only with POST HTTP requests
All these methods are available both in servlets and JSPs
PageContext.forward() could be obtained only for a JSP page
PageContext.forward() and RequestDispatcher.forward() transfer processing of the current HTTP request to
another servlet or JSP but response.sendRedirect() makes additional HTTP request
response.sendRedirect() and PageContext.forward() cause additional call of the browser
|