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

What’s jboss jbpm?

772


whats is mean by tiles in struts

1881


What is a class loader?

1004


What is aop(assepct oriented programing)?

803


What are transaction attributes?

839


Why is string immutable in java?

824


What is the difference between ear, jar and war file?

820


What if the static modifier is removed from the signature of the main method?

971


What value does read() return when it has reached the end of a file?

770


Define aop(assepct oriented programing)?

912


What is glasgow?

798


How are the elements of a borderlayout organized?

852


Why is actionform a base class rather than an interface?

800


What are the different class loaders used by jvm?

835


What is a modular application?

809