J2EE Tutorial

Servlet RequestDispatcher And SendRedirect

There are two methods in servlet to dispatch user requests to other web resources such as JSP, HTML, or another servlet in the same or different web applications. They are RequestDispatcher interface and HttpServletResponse‘s sendRedirect() method. RequestDispatcher is used to dispatch requests to the resource run in the same web applications, and sendRedirect() can be […]

Servlet RequestDispatcher And SendRedirect Read More »