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 is Client-Server Computing?
What are common tasks performed by Servlet Container?
What is a servlet?
What are the functions of the servlet container?
What is the difference between jsp and servlet life cycle?
What is difference between get and post method?
How can we upload the file to the server using servlet?
Why doesn’t a servlet include main()?
What is servlet used for?
How do we share data using 'getservletcontext ()?
When should you prefer to use doget() over dopost()?
What is difference between server and servlet?
What is URL Encoding?
What's the difference between authentication and authorization?
Whats the advantages using servlets over using CGI?