Difference between include directive and include action in JSP Servlet? Example

Difference between include directive and include action is one of the most popular JSP interview questions and also asked as What is the difference between page include and file include in JSP.  Similar to the difference between forward and send redirect and URL encoding vs URL rewriting, this is also asked at a beginner level. Here we will see page include vs file include in detail. Both include directive and include action is used to include the output of a static page e.g. HTML or a dynamic page like jsp inside another jsp file.

تعليقات

المشاركات الشائعة من هذه المدونة

10 points about Java Heap Space or Java Heap Memory

How HashMap works in Java

10 examples of displaytag in JSP, Struts and Spring