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
What's the servlet interface?
Describe in brief RequestDespatcher?
How can we perform any action at the time of deploying the project?
Can we fetch the attributes related to a servlet on a different servlet?
How do we share data using 'getservletcontext ()?
Explain the servlet context.
How the servlet is loaded?
What are the kinds of http requests?
What are common tasks performed by Servlet Container?
Why don't we write a constructor in a servlet?
What is http servlet?
Is it possible to have a constructor inside the servlet?
What are the uses of servlet
Explain load on start-up and its importance?
What do you mean by a filter and how does it work?