Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the most efficient way of moving from one page (home page, index.html) to another?

user-image
Question added by Faten Almajaly
Date Posted: 2015/05/03
Pushpendra Chouhan
by Pushpendra Chouhan , Worked 6 months for my final year project (Jan 2014- June 2014) , Universal Informatics

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.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.