Differentiate between include directive and include action.
Answer / Rahul Nayak
The `<%@ include %>` directive is used to include another JSP page at the time of compiling the current page, while the `<jsp:include />` action is used to include another resource during runtime. The difference lies in when the included file is processed – the directive does so at compile-time, whereas the action does so at run-time.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is jsp and servlets?
How do you connect to the database from jsp?
How to implement a thread-safe jsp page?
What is iselignored in jsp?
What is difference between jsp and jstl?
What is the difference between <jsp:forward> and sendRedirect?
What do you know about pagecontext and what are the advantages of using it?
What are directives? What are the different types of directives available in jsp?
Why is used in jsp?
What is a jsp and what is it used for?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
How can multiple submits due to refresh button clicks be prevented?