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
How can the session in servlet can be destroyed?
What is the difference between CGI and Servlet?
What is servlet name in web xml?
What do you mean by httpservlet and how it is different from the genericservlet?
How will you pass values from HTML page to the servlet?
how many jsp scripting elements are there and what are those?
What is servlet in simple terms?
What do you mean by scope object and what are its types?
What is the workflow of a servlet?
What is the use of welcome-file-list?
How to upload a file to the server using servlet?
What is api in servlet?
What is the web server used for running the Servlets?
Who is responsible for writing a constructor?
Given the request path below, which are context path, servlet path and path info?