Register now or log in to join your professional community.
Basically we can use requestDispatcher interface or sendRedirect() method for moving from one page to another.
requestDispatcher interface is used to dispatch the request from one web page to another web page, within an application. It may be jsp,servlet or html.
It provides two methods: forward() and include().
sendRedirect() method is used to direct the request from one page to another which lies within the application or outside the application. It works at client side.