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

Why does the option tag render selected=selected instead of just selected?

977


What are transaction attributes?

862


What class is used to create Server side object ?

1959


How database connectivity in XML is achieved?

1983


Why are some of the class and element names counter-intuitive?

848


What are the oops concept?

814


How to implement RMI in Java?

2656


Which containers use a border layout as their default layout?

886


what is a non-repeatable read?

2070


What are callback interfaces?

850


Define the remote object implementation?

2219


How many times may an objects finalize() method be invoked by the garbage collector?

900


Do I need to import javlang package any time? Why ?

878


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

806


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

791