ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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

user-image
تم إضافة السؤال من قبل Faten Almajaly
تاريخ النشر: 2015/05/03
Pushpendra Chouhan
من قبل 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.

المزيد من الأسئلة المماثلة