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 will happen if static modifier is removed from the signature of the main method?
Outline the major features of java.
Explain try and catch keywords in java?
Can we synchronize static methods in java?
What is formatted output?
Difference between string, string builder, and string buffer?
Can a private method be declared as static?
How to convert string to char and vice versa?
What is empty list in java?
What is a parameter in java?
What is double word?
Describe how to implement singleton design pattern in struts.
How do you pass by reference?
Is there a jre for java 11?
What is length in java?