Difference between include directive and include action in JSP Servlet

Difference between include directive and include action is one of the most popular JSP interview questions and also asked as What is difference between page include and file include in JSP.  Similar to difference between forward and send redirect  and URL encoding vs URL rewriting, this is also asked at beginners level. Here we will see page include vs file include in detail. Both include directive and include action is used to include output of a static page e.g. html or a dynamic page e.g. jsp inside another jsp file. In this JSP tutorial we will see what is include directive in JSP and what is include action and difference between include directive and include action. This JSP interview question is mostly asked during 2-4 years experience in Java J2EE. By the way this article is in continuation of my other posts on J2EE interviews like Top 10 Spring Interview Questions and Top 10 Servlet Interview questions. If you are interested on Core java or multi-threading than you can check Top 20 Core Java Interview questions.
Read more »

0 Response to "Difference between include directive and include action in JSP Servlet"

Posting Komentar