Directive Include and Action Include how both are working
in JSP, what is the difference between both?In which
suituation we have to choose these elements?
Answer Posted / ravikiran
Directive Include:
Directive include will include the included page to the
including page during translation time.Here the page will
included to the current page and compiled as a single
translation unit.And is mainly used when the including page
has some dependancy with the include page.
Action Include:
Action include will include the page during run time.means
the first page will will compiled individually and the
including page will compiled separetly and inclusion takes
place.so it's like a dynamic inclusion
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Why the concept of single thread model interface is used?
How can we perform any action at the time of deploying the project?
What is the difference between encodeRedirectUrl and encodeURL?
What is called Session Tracking?
How the servlet is loaded?
Why is Servlet so popular?
What are the life cycle methods of the servlet?
Which HTTP method is non-idempotent?
How to rectify errors in java servlet while compilation?
Describe in brief RequestDespatcher?
What is servlet in simple terms?
Explain url encoding?
What do you mean by annotations in servlet?
What is servlet and its types?
What's the servlet interface?