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 kind of variables can a class consist?
How long will it take to learn java?
When we serialize an object does the serialization mechanism saves its references too?
What is space character in java?
Is integer a class?
Is 0 true or false in java?
How do you remove an object from an arraylist in java?
What is methodological framework?
What exactly is a .class file?
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 the default access specifier for variables and methods of a class?
What is unicode datatype?
Is linked list a linear or non-linear data structure?
What do you understand by an io stream?
How does hashset work in java?