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 protected access modifier?
Is array serializable java?
Differentiate between vector and array list.
What is one third plus one third as a fraction?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
How is java created?
What happens if main method is not static?
What is covariant return type?
Why is a string immutable?
What is the difference between dom and sax parser in java?
What happens when a thrown exception is not handled?
Explain the difference between collection api and stream api in java8?
Why are the destructors for base class and derived class called in reverse order when the program exits
What is float in java?
Explain parallel processing in java8?