what is the difference between @include page and @include file
Answer Posted / alim atar
<jsp:include page="page.jsp" >
is action which include the output of page.jsp at
dyanamically.Instead of copying all content of page.jsp
Container transalte ,compiles page.jsp separtly and copy
the ouput of page.jsp to current page.It means it's
dyanamic inclusion.
<@include file="page.jsp">
it is directory which copy all content's of page.jsp to
current jsp page and then complete current page is
translated and compiled. It is static inclusion of file
which means copy all source code to current page as it is.
| Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
What is string array?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is difference between stringbuffer and string?
What is a dynamic array java?
Explain the importance of join() method in thread class?
What is array length?
Can we override the static methods?
What does \ mean in regex?
What is empty string literal in java?
What are the Main functions of Java?
What is the difference between heap and stack memory?
Differentiate between array list and vector in java.
Can you pass functions in java?
What is the use of a copy constructor?
What is the public method modifier?