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


Please Help Members By Posting Answers For Below Questions

When a thread blocks on i/o, what state does it enter?

573


What is Remote Server?

1683


What is the map interface?

613


How substring() method of string class create memory leaks?

551


Is it possible to stop the execution of a method before completion in a sessionbean?

600






Can I import same package/class twice? Will the jvm load the package twice at runtime?

648


What is meant by method chaining?

664


What is glasgow?

583


What is the purpose of the finally clause of a try-catch-finally statement?

557


What is scalable, portability in the view of J2EE?

1876


Explain the difference between object state and behavior?

568


what is Activation Instantinator?

1909


How primary key is implemented in Oracle?

1919


How messaging services are done, before release of JMS?

1589


What is the relationship between the canvas class and the graphics class?

540