diff between jsp include directive and jsp action include?
Answer Posted / jaspal
Syntax for JSP include directive is:
<%@ include file="relative file path" %>
Syntax for JSP action include is:
<jsp:include file="relative file path"
flush="true | false" >
JSP include directive is used to include static files within
a JSP page. Files are include at translation phase.
JSP action include is used to include dynamic files within a
JSP page. Files are include excution time. As request, a
file is refreshed.
| Is This Answer Correct ? | 30 Yes | 8 No |
Post New Answer View All Answers
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is the difference between long.class and long.type?
What are transaction attributes?
What is a class loader?
What are local interfaces? Describe.
Which component handles cluster communication in jboss?
What are various types of class loaders used by jvm?
Do I need to import javlang package any time? Why ?
Do I have to use jsps with my application?
Why is string immutable in java?
What is metaspace?
What is a session? Can you share a session object between different theads?
Is it possible to stop the execution of a method before completion in a sessionbean?
What are the different types of exception?
What are the benefits of detached objects?